|
@@ -200,7 +200,7 @@ const rules = reactive({
|
|
|
const props = defineProps({
|
|
|
isShowStructure: Boolean
|
|
|
});
|
|
|
-const emits = defineEmits(["confirm"]);
|
|
|
+const emits = defineEmits(["confirm", "cancel"]);
|
|
|
|
|
|
let showPicker = ref(false);
|
|
|
const handleSelect = data => {
|
|
@@ -251,7 +251,8 @@ const handleEdit = () => {
|
|
|
let submitting = ref(false);
|
|
|
// 返回
|
|
|
const onCancel = () => {
|
|
|
- pageStatus.value = "1";
|
|
|
+ // pageStatus.value = "1";
|
|
|
+ emits("cancel");
|
|
|
};
|
|
|
|
|
|
// 提交表单
|