微调弹出框

This commit is contained in:
sjl
2024-12-06 09:11:44 +08:00
parent 69a4cbbbc2
commit b57a7edf28
6 changed files with 12 additions and 8 deletions

View File

@@ -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

View File

@@ -89,6 +89,7 @@
// 打开 drawer(新增、编辑)
const openDialog = (titleType: string, row: Partial<TestSource.ResTestSource> = {}) => {
testSourcePopup.value?.open(titleType, row,modeStore.currentMode)
}