fix:更新优化

This commit is contained in:
Your Name 2026-04-07 10:11:37 +08:00
parent f9bfdf7631
commit 3f2eee878f
5 changed files with 8 additions and 4 deletions

View File

@ -1,5 +1,5 @@
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://weapp-api.linyikj.com.cn/api/
# VITE_HTTP_BASE_URL = https://weapp-api.linyikj.com.cn/api/
VITE_ACCESS_TOKEN_KEY= 'ACCESS_TOKEN_CUSTOMER'

View File

@ -38,8 +38,11 @@ const getList = () => {
});
};
const handleSearch = () => {
var _a, _b, _c;
INDEX_archive_houses_model.useModel.showData.value = {};
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();
};
const method = {

View File

@ -3,7 +3,7 @@ const common_vendor = require("../vendor.js");
const common_store_useWeAppAuthStore = require("../store/useWeAppAuthStore.js");
const http = new common_vendor.Request();
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
};

View File

@ -22,6 +22,6 @@
"libVersion": "3.13.2",
"setting": {
"bigPackageSizeSupport": false,
"urlCheck": true
"urlCheck": false
}
}

View File

@ -35,6 +35,7 @@ const getList = () => {
const handleSearch = () => {
useModel.showData.value = {}
useModel.formData.value.page = 1
if (!useModel?.formData?.value?.asset_houses_id) return
getList()
}