lrf402788946 4 years ago
parent
commit
369d2b0645
1 changed files with 4 additions and 4 deletions
  1. 4 4
      src/views/user/experience.vue

+ 4 - 4
src/views/user/experience.vue

@@ -71,19 +71,19 @@ export default {
       } else {
         const { termid, batchid, classid, userid } = this.user;
         if (!termid) {
-          this.$toast({ type: 'fail', message: '学生缺少期信息' });
+          this.$notify({ type: 'danger', message: '学生缺少期信息' });
           return;
         }
         if (!batchid) {
-          this.$toast({ type: 'fail', message: '学生缺少批次信息' });
+          this.$notify({ type: 'danger', message: '学生缺少批次信息' });
           return;
         }
         if (!classid) {
-          this.$toast({ type: 'fail', message: '学生缺少班级信息' });
+          this.$notify({ type: 'danger', message: '学生缺少班级信息' });
           return;
         }
         if (!userid) {
-          this.$toast({ type: 'fail', message: '缺少学生信息' });
+          this.$notify({ type: 'danger', message: '缺少学生信息' });
           return;
         }
         duplicate = { ...duplicate, termid, batchid, classid, studentid: userid };