|
|
@@ -322,6 +322,7 @@
|
|
|
import { addMenu, editMenu } from '@/api/system/menu';
|
|
|
import { QuestionCircleOutlined } from '@vicons/antd';
|
|
|
import { replaceParams } from '@/utils/helper/treeHelper';
|
|
|
+ import { cloneDeep } from 'lodash-es';
|
|
|
|
|
|
const emit = defineEmits(['change']);
|
|
|
|
|
|
@@ -368,7 +369,7 @@
|
|
|
const formParams: any = ref(defaultValueRef());
|
|
|
|
|
|
const getPermissionList = computed(() => {
|
|
|
- return replaceParams(props.permissionList || [], 'label', 'key');
|
|
|
+ return replaceParams(cloneDeep(props.permissionList || []), 'label', 'key');
|
|
|
});
|
|
|
|
|
|
const getTypeLable = computed(() => {
|