提交测试版

This commit is contained in:
2021-12-06 18:29:39 +08:00
parent bb9f67d3f8
commit e4173eeb2c
21 changed files with 615 additions and 184 deletions
+1 -7
View File
@@ -14,8 +14,6 @@
<script>
import { tabbar } from '../src/router';
import { getWechatSign } from './api';
import { signToWechat } from './common/wechat-web';
export default {
name: 'App',
@@ -32,14 +30,10 @@ export default {
};
},
components: {},
beforeCreate: () => {
getWechatSign(location.href).then(res => {
signToWechat(res);
});
},
watch: {
'$route': {
handler(val) {
document.title = val.meta.title || '自在福田'
this.active = tabbar.map(v => v.name).indexOf(val.name).toString();
},
deep: true,