diff --git a/App.vue b/App.vue
index 7f8aa297c6a76c87a86c39aa97096ed96ed578e5..9d3035675cba164f6116c5fb0616f5c8a0e0072b 100644
--- a/App.vue
+++ b/App.vue
@@ -12,19 +12,13 @@
uni.preloadPage({
url: "/pages/ucenter/settings/settings",
complete:e=>{
- console.log(e);
- }
- });
- uni.preloadPage({
- url: "uni_modules/uni-login-page/pages/index/index",
- complete:e=>{
- console.log(e);
+ // console.log(e);
}
});
// #ifdef APP-PLUS
//预加载一键登录
plus.oauth.getServices(oauthServices=>{
- console.log(oauthServices);
+ // console.log(oauthServices);
oauthServices.forEach(({_id},item)=>{
if(_id=='provider'){
uni.preLogin({
diff --git a/common/appInit.js b/common/appInit.js
index fdcfeb544de29a6304ed106ba9c1885b8d8a6cf2..9889ad31eb15b9b5a75164af8c133a07f6c340bd 100644
--- a/common/appInit.js
+++ b/common/appInit.js
@@ -33,9 +33,9 @@ export default function() {
list.forEach(item=>{
uni.addInterceptor(item,{
invoke(e){// 调用前拦截
- console.log(e);
+ //console.log(e);
const token = uni.getStorageSync('uni_id_token')
- console.log(token);
+ // console.log(token);
const url = e.url.split('?')[0]
//拦截强制登陆页面
if (needLogin.includes(url) && token == '') {
@@ -68,7 +68,7 @@ export default function() {
},
complete(e){ // 完成回调拦截
- console.log(e);
+ //console.log(e);
},
returnValue(){// 返回结果拦截
diff --git a/manifest.json b/manifest.json
index 9ff5fc4c71168047de675e3233bb8789b952ad88..f775f81e0f1d394b06a3ca5de3f629c5e9e10594 100644
--- a/manifest.json
+++ b/manifest.json
@@ -7,6 +7,9 @@
"transformPx" : false,
/* 5+App特有相关 */
"app-plus" : {
+ "compatible": {
+ "ignoreVersion": true //true表示忽略版本检查提示框,HBuilderX1.9.0及以上版本支持
+ },
"usingComponents" : true,
"nvueStyleCompiler" : "uni-app",
"compilerVersion" : 3,
diff --git a/pages.json b/pages.json
index ddcc79b4e034c9ba7131dad7675c33efba6560e6..48609cb9bc6d3d7b45b9d4a48dd834f6dda1ec1f 100644
--- a/pages.json
+++ b/pages.json
@@ -215,20 +215,20 @@
"navigationBarBackgroundColor": "#FFFFFF",
"backgroundColor": "#F8F8F8"
},
- "condition": {
- "list": [
- {
- "path": "uni_modules/uni-login-page/pages/index/index"
- },
- {
- "path": "pages/test/test"
- },
- {
- "path":"pages/ucenter/settings/settings"
- }
- ],
- "current":2
- },
+ // "condition": {
+ // "list": [
+ // {
+ // "path": "uni_modules/uni-login-page/pages/index/index"
+ // },
+ // {
+ // "path": "pages/test/test"
+ // },
+ // {
+ // "path":"pages/ucenter/settings/settings"
+ // }
+ // ],
+ // "current":1
+ // },
"tabBar": {
"color": "#7A7E83",
"selectedColor": "#007AFF",
diff --git a/pages/test/test.vue b/pages/test/test.vue
index 1c253787341baf798e264f4b6db904b16ccf88df..22f4e10621463600c660ec4cd0ff7e2b3d967a01 100644
--- a/pages/test/test.vue
+++ b/pages/test/test.vue
@@ -8,77 +8,92 @@
应用相关权限
-->
-
-
+
+
+
+