This commit is contained in:
weipengfei 2023-08-31 14:33:06 +08:00
parent a5f1442163
commit 2e98664b24
4 changed files with 5 additions and 11 deletions

View File

@ -26,10 +26,8 @@ httpApiThree = 'https://worker-task.lihaink.cn' //生产
module.exports = { module.exports = {
// 请求域名 格式: https://您的域名 // 请求域名 格式: https://您的域名
// #ifdef MP || APP-PLUS || H5
HTTP_REQUEST_URL: httpApi, HTTP_REQUEST_URL: httpApi,
HTTP_REQUEST_URL_THREE: httpApiThree, HTTP_REQUEST_URL_THREE: httpApiThree,
// #endif
// #ifdef H5 // #ifdef H5
//H5接口是浏览器地址 //H5接口是浏览器地址

View File

@ -1,5 +1,5 @@
{ {
"name" : "里海社区", "name" : "里海社区管理系统",
"appid" : "__UNI__B5B1EDD", "appid" : "__UNI__B5B1EDD",
"description" : "", "description" : "",
"versionName" : "1.0.0", "versionName" : "1.0.0",

View File

@ -78,6 +78,7 @@
onLoad() { onLoad() {
this.options.data = bj; this.options.data = bj;
// this.$refs.lottie.call('play'); // this.$refs.lottie.call('play');
this.initTerminal();
}, },
methods: { methods: {
changeTabs(e) { changeTabs(e) {
@ -197,11 +198,6 @@
Toast('暂未开放') Toast('暂未开放')
} }
}, },
mounted() {
this.initTerminal();
}
} }
</script> </script>

View File

@ -52,9 +52,9 @@ function baseRequestTwo(url, method, data, {
method: method || 'GET', method: method || 'GET',
header: { header: {
...header, ...header,
...{ // ...{
'Content-Type': 'application/x-www-form-urlencoded;charset=UTF-8' // 'Content-Type': 'application/x-www-form-urlencoded;charset=UTF-8'
} // }
}, },
data: method != 'GET' ? data || {} : {}, data: method != 'GET' ? data || {} : {},
params: method == 'GET' ? data : {}, params: method == 'GET' ? data : {},