提交 c6370f4c 编写于 作者: L linju

123

上级 d57f7d41
......@@ -4,5 +4,36 @@
"/pages/grid/grid"
]
},
""
"login":{
"weixin": {
"text": "微信登陆",
"logo": "../../static/login/img/weixin.png",
"isChecked":true
},
"apple": {
"text": "苹果登陆",
"logo": "../../static/login/img/apple.png",
"isChecked":true
},
"univerify": {
"text": "一键登陆",
"logo": "../../static/login/img/univerify.png",
"isChecked":true
},
"qq": {
"text": "QQ登陆",
"logo": "../../static/login/img/qq.png",
"isChecked":false //暂未提供该登陆方式的接口示例
},
"xiaomi": {
"text": "小米登陆",
"logo": "../../static/login/img/qq.png",
"isChecked":false //暂未提供该登陆方式的接口示例
},
"sinaweibo": {
"text": "微博登录",
"logo": "../../static/login/img/sinaweibo.png",
"isChecked":false //暂未提供该登陆方式的接口示例
}
}
}
\ No newline at end of file
......@@ -5,10 +5,10 @@ export default function() {
initAppVersion();
// 检查更新
checkUpdate();
checkUpdate();
//自定义路由拦截
// setRouter()
setRouter()
//提示网络变化
eventListenerNetwork()
......@@ -36,7 +36,7 @@ function initAppVersion() {
}
//用于拦截路由
import baseappConfig from '@/baseapp.config.json';
const baseappConfig = require('@/baseapp.config.json')
const {"router":{needLogin}} = baseappConfig //需要登陆的页面
function setRouter() {
let before_action = e => {
......
......@@ -45,8 +45,7 @@
"text": "微博登录",
"logo": "../../static/login/img/sinaweibo.png",
"isChecked":false //暂未提供该登陆方式的接口示例
},
}
},
providerList: [],
oauthServices:[],
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册