1 Star 0 Fork 161

DaveMa / Snowy-Mobile

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
App.vue 648 Bytes
一键复制 编辑 原始数据 按行查看 历史
<script setup>
import { onShow } from "@dcloudio/uni-app"
import store from '@/store'
// #ifdef H5
import { getH5RouteByUrl } from '@/utils/common'
import { checkPermission } from '@/utils/auth'
checkPermission(getH5RouteByUrl())
//#endif
store.dispatch('GetSysBaseConfig')
onShow(() => {
// #ifdef APP-PLUS
if (plus.runtime.launcher == 'shortcut') {
const cmd = JSON.parse(plus.runtime.arguments);
const type = cmd && cmd.type;
if (type && type == "sweep") {
// 执行要操作的逻辑
}
plus.runtime.arguments = null;
}
//#endif
})
</script>
<style lang="scss">
@import '@/static/scss/index.scss';
</style>
1
https://gitee.com/DaveMa/snowy-mobile.git
git@gitee.com:DaveMa/snowy-mobile.git
DaveMa
snowy-mobile
Snowy-Mobile
master

搜索帮助