This commit is contained in:
Sliverber 2024-06-28 18:08:22 +08:00
parent bd5c78cb95
commit d6d60bac0d
4 changed files with 1132 additions and 478 deletions

View File

@ -10,7 +10,7 @@ const install = (Vue, vm) => {
// dataType: 'json', // dataType: 'json',
// showLoading: true, // 是否显示请求中的loading // showLoading: true, // 是否显示请求中的loading
// loadingText: '...', // 请求loading中的文字提示 // loadingText: '...', // 请求loading中的文字提示
loadingTime: 1000, // 在此时间内请求还没回来的话就显示加载中动画单位ms // loadingTime: 1000, // 在此时间内请求还没回来的话就显示加载中动画单位ms
// originalData: false, // 是否在拦截器中返回服务端的原始数据 // originalData: false, // 是否在拦截器中返回服务端的原始数据
// loadingMask: true, // 展示loading的时候是否给一个透明的蒙层防止触摸穿透 // loadingMask: true, // 展示loading的时候是否给一个透明的蒙层防止触摸穿透
// // 配置请求头信息 // // 配置请求头信息
@ -19,13 +19,13 @@ const install = (Vue, vm) => {
// }, // },
// }); // });
uni.setStorageSync('deptId', 101); uni.setStorageSync('deptId', 100);
Vue.prototype.$u.http.setConfig({ Vue.prototype.$u.http.setConfig({
// baseUrl: 'http://61.174.243.28:15861', // baseUrl: 'http://61.174.243.28:15861',
// baseUrl: 'http://192.168.2.14:8080', // baseUrl: 'http://192.168.2.14:8080',
// baseUrl: 'http://124.221.246.124:2289', // baseUrl: 'http://124.221.246.124:2289',
baseUrl: 'https://dianche.chuantewulian.cn/prod-api', // baseUrl: 'https://dianche.chuantewulian.cn/prod-api',
// baseUrl: 'https://dche.ccttiot.com/prod-api', baseUrl: 'https://dche.ccttiot.com/prod-api',
loadingText: '努力加载中~', loadingText: '努力加载中~',
// loadingTime: 2000, // loadingTime: 2000,
// 设置自定义头部content-type // 设置自定义头部content-type

View File

@ -51,7 +51,7 @@
/* */ /* */
"mp-weixin" : { "mp-weixin" : {
"libVersion" : "latest", "libVersion" : "latest",
"appid" : "wx4d178f8c80348214", "appid" : "wx3428c498d5061192",
"setting" : { "setting" : {
"urlCheck" : false "urlCheck" : false
}, },

View File

@ -370,6 +370,11 @@
that.check() that.check()
}, 2000)
setTimeout(() => {
that.check()
}, 4000) }, 4000)
}, },

File diff suppressed because it is too large Load Diff