Browse Source

修改包件明细点击分页没反应的问题

master
qb 1 year ago
parent
commit
76d03f0bd6
  1. 4
      src/views/distribution/inventory/distributionStockArticleDetails.vue
  2. 4
      vite.config.js

4
src/views/distribution/inventory/distributionStockArticleDetails.vue

@ -1341,11 +1341,11 @@ export default {
}, },
currentChange(currentPage) { currentChange(currentPage) {
this.page.currentPage = currentPage; this.page.currentPage = currentPage;
this.onLoad(this.page); this.onLoadOwn(this.page);
}, },
sizeChange(pageSize) { sizeChange(pageSize) {
this.page.pageSize = pageSize; this.page.pageSize = pageSize;
this.onLoad(this.page); this.onLoadOwn(this.page);
}, },
onLoad(page, params = {}) { onLoad(page, params = {}) {
this.loading = true; this.loading = true;

4
vite.config.js

@ -23,13 +23,13 @@ export default ({ mode, command }) => {
// 新zyc // 新zyc
// target: 'http://192.168.6.116:8777', // target: 'http://192.168.6.116:8777',
target: 'http://192.168.6.122:8777', // target: 'http://192.168.6.122:8777',
// target: 'http://192.168.6.116:8777', // target: 'http://192.168.6.116:8777',
// tjj // tjj
// sst // sst
// target: 'http://192.168.10.94:8888', // target: 'http://192.168.10.94:8888',
// target: 'http://192.168.10.29:13000', // target: 'http://192.168.10.29:13000',
// target: 'http://h5uapi.huitongys.com', target: 'http://h5uapi.huitongys.com',
changeOrigin: true, changeOrigin: true,
rewrite: path => path.replace(/^\/api/, ''), rewrite: path => path.replace(/^\/api/, ''),
}, },

Loading…
Cancel
Save