|
|
@@ -41,6 +41,9 @@
|
|
|
import {ref,reactive,nextTick} from "vue";
|
|
|
import {onLoad} from "@dcloudio/uni-app";
|
|
|
import * as khApi from "@/api/kehu.js"
|
|
|
+
|
|
|
+const emits = defineEmits('success')
|
|
|
+
|
|
|
const formData = reactive({
|
|
|
realName: '',
|
|
|
userName: '',
|
|
|
@@ -94,6 +97,7 @@ function htAdd(){
|
|
|
title: '新增成功'
|
|
|
})
|
|
|
goback2();
|
|
|
+ emits('success')
|
|
|
}
|
|
|
})
|
|
|
}
|