1 Star 0 Fork 208

wushuai/Snowy-Mobile

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
App.vue 743 Bytes
一键复制 编辑 原始数据 按行查看 历史
<script>
import store from '@/store'
import {
getToken,
checkPermission
} from '@/utils/auth'
import config from '@/config'
import {
configSysBaseList
} from '@/api/dev/configApi'
export default {
onLaunch: function() {
store.dispatch('GetSysBaseConfig')
//#ifdef H5
checkPermission(location.pathname)
//#endif
},
onShow: function() {
// #ifdef APP-PLUS
if(plus.runtime.launcher=='shortcut'){
var cmd = JSON.parse(plus.runtime.arguments);
var type=cmd&&cmd.type;
if(type&&type=="sweep"){
// 执行要操作的逻辑
}
plus.runtime.arguments=null;
}
//#endif
},
onHide: function() {}
}
</script>
<style lang="scss">
@import '@/static/scss/index.scss';
</style>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/wushuai186/snowy-mobile.git
git@gitee.com:wushuai186/snowy-mobile.git
wushuai186
snowy-mobile
Snowy-Mobile
master

搜索帮助

23e8dbc6 1850385 7e0993f3 1850385