Commit 276dd1bc authored by caimeng's avatar caimeng

1

parent 692e995f
<script>
import { loadDevice, loadLocation, loadNetwork, loadUuid, ininIndex, initIndexGoods, initH5Setting, initAPPSetting } from '@/utils/index.js'
import {loadVersion, loadDevice, loadLocation, loadNetwork, loadUuid, ininIndex, initIndexGoods, initH5Setting, initAPPSetting } from '@/utils/index.js'
import config from '@/config/api'
export default {
globalData: {
......@@ -9,6 +9,11 @@ export default {
},
onLaunch: async function () {
const versionNumber = await loadVersion()
console.log(versionNumber, 'versionNumber')
// 是否是第一次启动
const appStart = uni.getStorageSync('appStart')
if (appStart) {
// uni.switchTab({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment