--fix bug

This commit is contained in:
yuping
2023-04-12 17:58:59 +08:00
parent fc19d265fe
commit 64a0b38de8

View File

@@ -1,4 +1,4 @@
<!-- 评估管理页面 --> shan<!-- 评估管理页面 -->
<template> <template>
<div class="researchmanage"> <div class="researchmanage">
<!-- 搜索框及按钮 --> <!-- 搜索框及按钮 -->
@@ -371,9 +371,10 @@ const handle = (record) => ({
}, },
del: async () => { del: async () => {
loading.value = true; loading.value = true;
message.info("删除成功!"); await deleteResearch({ assessmentId: record.id }).then(()=>{
await deleteResearch({ assessmentId: record.id }); message.info("删除成功!");
fetch(); fetch();
}).catch(() => loading.value = false)
}, },
copy: async () => { copy: async () => {
loading.value = true; loading.value = true;