@hbisty/qj-common 5.1.2 → 5.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hbisty/qj-common",
3
- "version": "5.1.2",
3
+ "version": "5.1.3",
4
4
  "description": "common files && template for qj-paas",
5
5
  "scripts": {
6
6
  "gulp": "gulp css"
@@ -292,7 +292,10 @@ export default {
292
292
  }
293
293
  },
294
294
  mounted() {
295
- this.fetchTree()
295
+ const saasToken = localStorage.getItem('saasToken') || localStorage.getItem('saas-token');
296
+ if (saasToken) {
297
+ this.fetchTree()
298
+ }
296
299
  },
297
300
  methods: {
298
301
  // 1.查询顶部tab消息类型和左侧tab状态类型
@@ -351,6 +354,7 @@ export default {
351
354
  const params = {
352
355
  page: this.currentPage,
353
356
  rows: this.pageSize,
357
+ channel: true, //区分渠道
354
358
  mnslistBustype: 'smail',
355
359
  mnslistBustnameExt: this.activeType, // 一级菜单code
356
360
  // fuzzy: false