wxy 4 年之前
父节点
当前提交
d11be5b58f
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/views/lunbo/index.vue

+ 2 - 2
src/views/lunbo/index.vue

@@ -82,7 +82,7 @@ export default {
         this.$set(this, `list`, res.data);
       }
     },
-   async onSubmit() {
+    async onSubmit() {
       let data = this.form;
       if (data.id) {
         let res = await this.update(data);
@@ -112,7 +112,7 @@ export default {
       let res = await this.delete(data.id);
       if (this.$checkRes(res)) {
         this.$message({
-          message: '创建成功',
+          message: '删除成功',
           type: 'success',
         });
         this.search();