Browse Source

文案反了

cxmo 1 year ago
parent
commit
988822b6d2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/views/training_manage/modifyVideoPage.vue

+ 1 - 1
src/views/training_manage/modifyVideoPage.vue

@@ -293,7 +293,7 @@ export default {
             }
             if (res.Ret !== 200)
                 return;
-            type!=='publish'&&this.$message.success(`${type === 'add' ? '添加' : '编辑'}成功`);
+            type!=='publish'&&this.$message.success(`${this.form.VideoId ? '编辑' : '添加'}成功`);
             type!=='publish'&&this.changeRoute();
         },
         //发布视频