| | |
| | | uni.stopPullDownRefresh() |
| | | }, |
| | | onLoad(options) { |
| | | |
| | | const url = options.q ? decodeURIComponent(options.q) : ''; |
| | | const urlcode = options.url && decodeURIComponent(options.url) || '' |
| | | }, |
| | | onShow() { |
| | | async onShow() { |
| | | |
| | | if(this.selftype==='supplier'){ |
| | | // 刷新供应商菜单 |
| | | await this.$store.dispatch('getAppMenuSupplier') |
| | | }else if(this.selftype==='partner'){ |
| | | // 刷新合伙人菜单 |
| | | await this.$store.dispatch('getAppMenuPartner') |
| | | } |
| | | |
| | | this.getTj(true) |
| | | }, |
| | | created() { |
| | |
| | | } |
| | | }, |
| | | // #endif |
| | | onShow() { |
| | | async onShow() { |
| | | if(this.selftype==='supplier'){ |
| | | await this.$store.dispatch('getAppMenuSupplier') |
| | | }else if(this.selftype==='partner'){ |
| | | await this.$store.dispatch('getAppMenuPartner') |
| | | } |
| | | |
| | | this.cacheUserId = '' |
| | | this.getTj() |
| | | |