feat: 资产授权.

This commit is contained in:
lijiahangmax
2023-12-04 21:25:31 +08:00
parent 0ecbd605e9
commit 798b0c61ee
20 changed files with 319 additions and 168 deletions

View File

@@ -41,7 +41,7 @@
title: String,
options: {
type: Array as PropType<OptionsProps[]>,
default: []
default: () => []
},
});

View File

@@ -49,7 +49,7 @@
},
options: {
type: Array as PropType<Array<RadioOption | SelectOption>>,
default: []
default: () => []
}
});
const emit = defineEmits(['inputChange']);

View File

@@ -68,7 +68,9 @@
const props = defineProps({
itemData: {
type: Object as PropType<TagProps>,
default: [],
default: () => {
return {};
}
},
index: {
type: Number,

View File

@@ -108,7 +108,7 @@
},
checkedKeys: {
type: Array<Number>,
default: []
default: () => []
}
});
const emits = defineEmits(['loading', 'selectNode', 'update:checkedKeys']);