feat: 新增需求
This commit is contained in:
@@ -28,6 +28,9 @@
|
||||
import MescrollMixin from "@/uni_modules/mescroll-uni/components/mescroll-uni/mescroll-mixins.js";
|
||||
import FlowMixin from "./FlowMixin.js";
|
||||
import flowlist from './flowList.vue'
|
||||
import {
|
||||
useUserStore
|
||||
} from '@/store/modules/user'
|
||||
export default {
|
||||
components: {
|
||||
flowlist
|
||||
@@ -63,6 +66,14 @@
|
||||
}
|
||||
},
|
||||
onShow() {
|
||||
const fromNonTabBar = uni.getStorageSync('fromNonTabBar');
|
||||
console.log(fromNonTabBar,'fromNonTabBar---')
|
||||
if(!fromNonTabBar){
|
||||
this.current = 1
|
||||
}else {
|
||||
this.current = 0
|
||||
}
|
||||
uni.removeStorageSync('fromNonTabBar');
|
||||
uni.$off('operate')
|
||||
uni.$on('refresh', () => {
|
||||
this.list = [];
|
||||
|
||||
Reference in New Issue
Block a user