From 0efa0c7736c1554ea54de545e91a4577b64603df Mon Sep 17 00:00:00 2001
From: 18516761980 <4761516tqsxp>
Date: 星期二, 01 三月 2022 08:29:24 +0800
Subject: [PATCH] .

---
 src/main/webapp/static/js/hostTable.js |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/main/webapp/static/js/hostTable.js b/src/main/webapp/static/js/hostTable.js
index 8c5c063..e1f440c 100644
--- a/src/main/webapp/static/js/hostTable.js
+++ b/src/main/webapp/static/js/hostTable.js
@@ -12,7 +12,7 @@
 
     var insTb = table.render({
         elem: '#originTable',
-        url: baseUrl + '/item/list/auth',
+        url: baseUrl + '/host/list/auth',
         height: 'full-100',
         headers: {token: localStorage.getItem('token')},
         request: {
@@ -54,7 +54,7 @@
     /* 琛ㄦ牸鎼滅储 */
     form.on('submit(originTbReset)', function (data) {
         insTb.reload();
-        insTb2.reload({where: {item_id: null}, page: {curr: 1}});
+        insTb2.reload({where: {host_id: null}, page: {curr: 1}});
         return false;
     });
 
@@ -80,7 +80,7 @@
     table.on('row(originTable)', function (obj) {
         selObj = obj;
         obj.tr.addClass('layui-table-click').siblings().removeClass('layui-table-click');
-        insTb2.reload({where: {item_id: obj.data.id}, page: {curr: 1}});
+        insTb2.reload({where: {host_id: obj.data.id}, page: {curr: 1}});
     });
 
     /* 鏄剧ず琛ㄥ崟寮圭獥 */

--
Gitblit v1.9.1