微调弹出框
This commit is contained in:
@@ -144,6 +144,7 @@ const save = () => {
|
||||
|
||||
// 打开弹窗,可能是新增,也可能是编辑
|
||||
const open = async (sign: string, data: TestSource.ResTestSource, currentMode: string) => {
|
||||
console.log('打开弹窗', sign, data)
|
||||
titleType.value = sign
|
||||
dialogVisible.value = true
|
||||
mode.value = currentMode
|
||||
|
||||
@@ -89,6 +89,7 @@
|
||||
|
||||
// 打开 drawer(新增、编辑)
|
||||
const openDialog = (titleType: string, row: Partial<TestSource.ResTestSource> = {}) => {
|
||||
|
||||
testSourcePopup.value?.open(titleType, row,modeStore.currentMode)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user