修复我的喜欢跳转视频详情进去走的历史记录问题,公共配置全部放到store/common.js下
This commit is contained in:
10
App.vue
10
App.vue
@@ -1,6 +1,5 @@
|
||||
<script>
|
||||
import { ref } from 'vue';
|
||||
import { init,commonType } from '@/api/init.js';
|
||||
export default {
|
||||
onLaunch: function () {
|
||||
console.log('App Launch');
|
||||
@@ -16,14 +15,7 @@ export default {
|
||||
|
||||
},
|
||||
onShow: function () {
|
||||
// ios是否在审核
|
||||
commonType(919).then(res=>{
|
||||
uni.setStorageSync('isExamine', res.value);
|
||||
})
|
||||
// 热搜词
|
||||
commonType(249).then(res=>{
|
||||
uni.setStorageSync('moreSearch', res.value)
|
||||
})
|
||||
|
||||
|
||||
},
|
||||
onHide: function () {
|
||||
|
||||
Reference in New Issue
Block a user