Kirin 2 năm trước cách đây
mục cha
commit
f05f1b3c9d
1 tập tin đã thay đổi với 11 bổ sung1 xóa
  1. 11 1
      app/admin/view/user/user/see.php

+ 11 - 1
app/admin/view/user/user/see.php

@@ -409,7 +409,17 @@
                         $eb.axios.get(layList.U({a: 'del_store', q: {id: id}})).then(function (res) {
                             if (res.data.code == 200) {
                                 $eb.$swal('success', res.data.msg);
-                                layList.reload();
+                                this.getSpreadStoreList();
+                                var that = this;
+                                layList.laypage.render({
+                                    elem: that.$refs.spread_store_page
+                                    , count: that.count.spread_store_count
+                                    , limit: that.limit
+                                    , theme: '#1E9FFF',
+                                    jump: function (obj) {
+                                        that.page.spread_store_page = obj.curr;
+                                    }
+                                });
                             } else
                                 return Promise.reject(res.data.msg || '删除失败')
                         }).catch(function (err) {