scorpioyq 2 년 전
부모
커밋
7ea9304230
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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)