scorpioyq 2 rokov pred
rodič
commit
7ea9304230
1 zmenil súbory, kde vykonal 2 pridanie a 2 odobranie
  1. 2 2
      src/views/home/component/dash.vue

+ 2 - 2
src/views/home/component/dash.vue

@@ -394,10 +394,10 @@ export default {
         cancelButtonText: '取消',
         type: 'warning'
       }).then(() => {
-        const data = {id: res.id, isReport: 1}
+        const data = {id: res.id, is_report: 1}
         this.$api.project.proUpdate(data).then(res => {
           if (res.code === 200) {
-            console.log(res)
+            this.onLoad()
             this.$message.success(res.msg)
           } else {
             this.$message.error(res.msg)