员工管理角色回显

This commit is contained in:
duan
2024-11-11 17:05:47 +08:00
parent 3838036f8a
commit 2a40135ac0
2 changed files with 15 additions and 4 deletions

View File

@@ -89,10 +89,13 @@
<script setup>
import {
getCurrentInstance,
onMounted,
reactive,
ref
} from 'vue';
import {
onShow,
} from '@dcloudio/uni-app';
import go from '@/commons/utils/go.js';
import {
tbShopPermissionList,
@@ -123,7 +126,7 @@
[]
]);
const show = ref(false)
onMounted(() => {
onShow(() => {
// 获取角色信息
getrolesEvent()
if (props.type == 'add') {