Przeglądaj źródła

更新教师评分

wuhongyuq 5 lat temu
rodzic
commit
e189f2fcab
1 zmienionych plików z 4 dodań i 2 usunięć
  1. 4 2
      src/views/teacherscore/index.vue

+ 4 - 2
src/views/teacherscore/index.vue

@@ -85,8 +85,10 @@ export default {
       console.log(site.id);
       console.log(site.id);
       let data = this.form;
       let data = this.form;
       let res = await this.create(data);
       let res = await this.create(data);
-      console.log('成功');
-      // res = await this.create(form);
+      this.$message({
+        message: '评分成功',
+        type: 'success',
+      });
     },
     },
   },
   },
 };
 };