- {
const submitForm = async () => {
if (!formRef.value) return
-
+
await formRef.value.validate(async (valid) => {
if (valid) {
loading.value = true
@@ -397,4 +397,4 @@ const submitForm = async () => {
defineExpose({
openDialog
})
-
\ No newline at end of file
+
diff --git a/src/views/canteen/canteenProductionTemplate/index.vue b/src/views/canteen/canteenProductionTemplate/index.vue
index e275292..ac02694 100644
--- a/src/views/canteen/canteenProductionTemplate/index.vue
+++ b/src/views/canteen/canteenProductionTemplate/index.vue
@@ -36,8 +36,8 @@
-
-
+
+
-
-
-
-
-
-
-
-
-
-
{
useMessage().error(err.msg);
}
};
-
\ No newline at end of file
+