fix:更新优化
This commit is contained in:
parent
f9bfdf7631
commit
3f2eee878f
@ -1,5 +1,5 @@
|
|||||||
NODE_ENV= development
|
NODE_ENV= development
|
||||||
# VITE_HTTP_BASE_URL = http://10.39.13.78:8002/api/
|
VITE_HTTP_BASE_URL = http://10.39.13.78:8002/api/
|
||||||
# VITE_HTTP_BASE_URL = https://test-weapp-api.linyikj.com.cn/api/
|
# VITE_HTTP_BASE_URL = https://test-weapp-api.linyikj.com.cn/api/
|
||||||
VITE_HTTP_BASE_URL = https://weapp-api.linyikj.com.cn/api/
|
# VITE_HTTP_BASE_URL = https://weapp-api.linyikj.com.cn/api/
|
||||||
VITE_ACCESS_TOKEN_KEY= 'ACCESS_TOKEN_CUSTOMER'
|
VITE_ACCESS_TOKEN_KEY= 'ACCESS_TOKEN_CUSTOMER'
|
||||||
@ -38,8 +38,11 @@ const getList = () => {
|
|||||||
});
|
});
|
||||||
};
|
};
|
||||||
const handleSearch = () => {
|
const handleSearch = () => {
|
||||||
|
var _a, _b, _c;
|
||||||
INDEX_archive_houses_model.useModel.showData.value = {};
|
INDEX_archive_houses_model.useModel.showData.value = {};
|
||||||
INDEX_archive_houses_model.useModel.formData.value.page = 1;
|
INDEX_archive_houses_model.useModel.formData.value.page = 1;
|
||||||
|
if (!((_c = (_b = (_a = INDEX_archive_houses_model.useModel) == null ? void 0 : _a.formData) == null ? void 0 : _b.value) == null ? void 0 : _c.asset_houses_id))
|
||||||
|
return;
|
||||||
getList();
|
getList();
|
||||||
};
|
};
|
||||||
const method = {
|
const method = {
|
||||||
|
|||||||
@ -3,7 +3,7 @@ const common_vendor = require("../vendor.js");
|
|||||||
const common_store_useWeAppAuthStore = require("../store/useWeAppAuthStore.js");
|
const common_store_useWeAppAuthStore = require("../store/useWeAppAuthStore.js");
|
||||||
const http = new common_vendor.Request();
|
const http = new common_vendor.Request();
|
||||||
http.setConfig((config) => {
|
http.setConfig((config) => {
|
||||||
config.baseURL = "https://weapp-api.linyikj.com.cn/api/";
|
config.baseURL = "http://10.39.13.78:8002/api/";
|
||||||
config.header = {
|
config.header = {
|
||||||
...config.header
|
...config.header
|
||||||
};
|
};
|
||||||
|
|||||||
@ -22,6 +22,6 @@
|
|||||||
"libVersion": "3.13.2",
|
"libVersion": "3.13.2",
|
||||||
"setting": {
|
"setting": {
|
||||||
"bigPackageSizeSupport": false,
|
"bigPackageSizeSupport": false,
|
||||||
"urlCheck": true
|
"urlCheck": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -35,6 +35,7 @@ const getList = () => {
|
|||||||
const handleSearch = () => {
|
const handleSearch = () => {
|
||||||
useModel.showData.value = {}
|
useModel.showData.value = {}
|
||||||
useModel.formData.value.page = 1
|
useModel.formData.value.page = 1
|
||||||
|
if (!useModel?.formData?.value?.asset_houses_id) return
|
||||||
getList()
|
getList()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user