mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-15 13:56:45 +08:00
-- fix bug
This commit is contained in:
@@ -236,7 +236,6 @@
|
|||||||
<script setup>
|
<script setup>
|
||||||
import { defineEmits, defineProps, ref, watch } from "vue";
|
import { defineEmits, defineProps, ref, watch } from "vue";
|
||||||
import STest from "./SelectTest.vue";
|
import STest from "./SelectTest.vue";
|
||||||
import { createExamination } from "@/api/index1";
|
|
||||||
import dayjs from "dayjs";
|
import dayjs from "dayjs";
|
||||||
import { Form, message } from "ant-design-vue";
|
import { Form, message } from "ant-design-vue";
|
||||||
|
|
||||||
@@ -358,14 +357,6 @@ async function confirm() {
|
|||||||
data.name = formData.value.examinationName
|
data.name = formData.value.examinationName
|
||||||
data.info = { ...formData.value }
|
data.info = { ...formData.value }
|
||||||
}
|
}
|
||||||
let obj = formData.value;
|
|
||||||
createExamination(obj).then(res => {
|
|
||||||
console.log(res)
|
|
||||||
message.success("成功");
|
|
||||||
}).catch(err => {
|
|
||||||
console.log(err)
|
|
||||||
})
|
|
||||||
|
|
||||||
emit('update:taskList', [...props.taskList])
|
emit('update:taskList', [...props.taskList])
|
||||||
closeDrawer()
|
closeDrawer()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user