taiji_caozhaorui 2 weeks ago
parent
commit
fa0ac9e51a

+ 2 - 1
src/views/manage/center/tenant/detail.vue

@@ -87,7 +87,8 @@
               maxHeight="300px"
             >
               <template #status-column-value="{ scope }">
-                <div class="m-auto" @click.capture.stop="onSwitch(scope.row)">
+                <!--                <div class="m-auto" @click.capture.stop="onSwitch(scope.row)">-->
+                <div class="m-auto">
                   <a-switch
                     v-model:checked="scope.row.status"
                     checked-children="启用"

+ 1 - 0
src/views/manage/center/user/index.vue

@@ -401,6 +401,7 @@ watch(
   () => initRoles(),
 )
 const initRoles = () => {
+  state.query.form.roleIds = ''
   state.invite.roleOptions = []
   rolesPage({
     page: 1,