diff --git a/config/app.js b/config/app.js index 3c387d1..8010f24 100644 --- a/config/app.js +++ b/config/app.js @@ -26,10 +26,8 @@ httpApiThree = 'https://worker-task.lihaink.cn' //生产 module.exports = { // 请求域名 格式: https://您的域名 - // #ifdef MP || APP-PLUS || H5 HTTP_REQUEST_URL: httpApi, HTTP_REQUEST_URL_THREE: httpApiThree, - // #endif // #ifdef H5 //H5接口是浏览器地址 diff --git a/manifest.json b/manifest.json index f119973..a9afb0b 100644 --- a/manifest.json +++ b/manifest.json @@ -1,5 +1,5 @@ { - "name" : "里海社区", + "name" : "里海社区管理系统", "appid" : "__UNI__B5B1EDD", "description" : "", "versionName" : "1.0.0", diff --git a/pages/oaLogin/oaLogin.vue b/pages/oaLogin/oaLogin.vue index cb5775e..b4ca7fd 100644 --- a/pages/oaLogin/oaLogin.vue +++ b/pages/oaLogin/oaLogin.vue @@ -78,6 +78,7 @@ onLoad() { this.options.data = bj; // this.$refs.lottie.call('play'); + this.initTerminal(); }, methods: { changeTabs(e) { @@ -197,11 +198,6 @@ Toast('暂未开放') } }, - mounted() { - - this.initTerminal(); - - } } diff --git a/utils/oahttp.js b/utils/oahttp.js index b61542c..91ffb88 100644 --- a/utils/oahttp.js +++ b/utils/oahttp.js @@ -52,9 +52,9 @@ function baseRequestTwo(url, method, data, { method: method || 'GET', 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 || {} : {}, params: method == 'GET' ? data : {},