qinhouyu 1 anno fa
parent
commit
1746952a30
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      src/views/highServer/liveBroadcast/index.vue

+ 2 - 2
src/views/highServer/liveBroadcast/index.vue

@@ -228,7 +228,7 @@ export default {
     handleUpdate(row) {
       this.reset();
       const id = row.id || this.ids
-      getServer(id).then(response => {
+      getServer(id,row.type).then(response => {
         this.form = response.data;
         this.open = true;
         this.title = "修改直播带货";
@@ -258,7 +258,7 @@ export default {
     handleDelete(row) {
       const ids = row.id || this.ids;
       this.$modal.confirm('是否确认删除此条数据项?').then(function () {
-        return delServer(ids);
+        return delServer(ids,row.type);
       }).then(() => {
         this.getList();
         this.$modal.msgSuccess("删除成功");