fix:更新
This commit is contained in:
parent
d91cf8c0de
commit
3a5e3111c6
@ -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'
|
||||
@ -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 = {
|
||||
|
||||
@ -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
|
||||
};
|
||||
|
||||
@ -2,6 +2,7 @@
|
||||
const common_vendor = require("../../../common/vendor.js");
|
||||
require("../../../common/libraries/getPageConfig.js");
|
||||
const common_libraries_public = require("../../../common/libraries/public.js");
|
||||
const common_libraries_userUserLogin = require("../../../common/libraries/userUserLogin.js");
|
||||
require("../../../common/store/useWeAppAuthStore.js");
|
||||
require("../../../gen/Apis.js");
|
||||
require("../../../common/libraries/request.js");
|
||||
@ -25,6 +26,10 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
||||
});
|
||||
};
|
||||
const handleInputChange = () => {
|
||||
var _a;
|
||||
if (!((_a = common_libraries_userUserLogin.getUserLogin) == null ? void 0 : _a.onBindPhone())) {
|
||||
return false;
|
||||
}
|
||||
common_vendor.index.navigateTo({
|
||||
url: "/pages/ai/chat"
|
||||
});
|
||||
|
||||
@ -22,6 +22,6 @@
|
||||
"libVersion": "3.13.2",
|
||||
"setting": {
|
||||
"bigPackageSizeSupport": false,
|
||||
"urlCheck": true
|
||||
"urlCheck": false
|
||||
}
|
||||
}
|
||||
@ -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()
|
||||
}
|
||||
|
||||
|
||||
@ -53,6 +53,7 @@
|
||||
import { showToast } from '@/common/libraries/naviHelper'
|
||||
import { getStyleColorInfo, getStyleColorValueInfo } from '@/common/libraries/getPageConfig'
|
||||
import { quickActions, QuickAction } from '@/common/libraries/public'
|
||||
import userLoginStatus from '@/common/libraries/userUserLogin'
|
||||
|
||||
const handleAiPage = (i: QuickAction) => {
|
||||
uni.navigateTo({
|
||||
@ -60,6 +61,9 @@ const handleAiPage = (i: QuickAction) => {
|
||||
})
|
||||
}
|
||||
const handleInputChange = () => {
|
||||
if (!userLoginStatus?.onBindPhone()) {
|
||||
return false
|
||||
}
|
||||
uni.navigateTo({
|
||||
url: '/pages/ai/chat'
|
||||
})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user