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