+
@@ -544,9 +544,11 @@ const isShowMainButton1 = (row, val) => {
}
/** 添加/修改操作 */
- const formRef = ref()
- const openForm = async (type : string, row ?: number) => {
+const formRef = ref()
+const clickType = ref('')
+const openForm = async (type : string, row ?: number) => {
clearTableDataSearch()
+ clickType.value = type
formRef.value.open(type, row)
if('create'==type){
nextTick(async () => {