修复添加机构后,机构列表不会更新的问题
This commit is contained in:
parent
f52f7aa1ed
commit
4bc17a3be6
@ -89,7 +89,7 @@ const props = defineProps({
|
|||||||
title: String,
|
title: String,
|
||||||
orgData: Array<SysOrg>,
|
orgData: Array<SysOrg>,
|
||||||
});
|
});
|
||||||
const emits = defineEmits(['handleQuery']);
|
const emits = defineEmits(['reload']);
|
||||||
const ruleFormRef = ref();
|
const ruleFormRef = ref();
|
||||||
const state = reactive({
|
const state = reactive({
|
||||||
isShowDialog: false,
|
isShowDialog: false,
|
||||||
@ -111,7 +111,7 @@ const openDialog = (row: any) => {
|
|||||||
|
|
||||||
// 关闭弹窗
|
// 关闭弹窗
|
||||||
const closeDialog = () => {
|
const closeDialog = () => {
|
||||||
emits('handleQuery', true);
|
emits('reload', true);
|
||||||
state.isShowDialog = false;
|
state.isShowDialog = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user