cxmo 1 жил өмнө
parent
commit
988822b6d2

+ 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();
         },
         //发布视频