chore(代码合并): 代码从Custom/common分支合并
This commit is contained in:
5
App.vue
5
App.vue
@@ -1,7 +1,7 @@
|
||||
<script>
|
||||
import auth from 'common/js/auth.js';
|
||||
import { themeConfig } from 'common/js/config-external.js'
|
||||
import configExternal from 'common/js/config-external.js'
|
||||
|
||||
import {
|
||||
Weixin
|
||||
} from 'common/js/wx-jssdk.js';
|
||||
@@ -10,10 +10,8 @@
|
||||
mixins: [auth],
|
||||
onLaunch: function(options) {
|
||||
// 方式:支持快应用,从url中query部分获取uniacid,或useragent中获取uniacid
|
||||
// console.log(options.query.uniacid)
|
||||
if(options.query.uniacid){
|
||||
uni.setStorageSync('uniacid', options.query.uniacid);
|
||||
console.log(uni.getStorageSync('uniacid'))
|
||||
}
|
||||
uni.hideTabBar();
|
||||
|
||||
@@ -64,6 +62,7 @@
|
||||
// 主题风格
|
||||
if (uni.getStorageSync('themeStyle')) {
|
||||
this.$store.commit('setThemeStyle', configExternal.loadThemeSync(uni.getStorageSync('themeStyle')));
|
||||
this.$store.dispatch('themeColorSet');
|
||||
}
|
||||
|
||||
// 插件是否存在
|
||||
|
||||
Reference in New Issue
Block a user