| | |
| | | // import Vue from 'vue' |
| | | const APPID = 'hmy-token' |
| | | const APPID = 'hmy-token' + process.env.PUB_TYPE |
| | | const storage = { |
| | | getItem(key) { |
| | | return uni.getStorageSync(`${APPID}_${key}_${process.env.NODE_ENV}`) |
| | |
| | | value: item.id, |
| | | children: undefined |
| | | } |
| | | if (item.name == this.columns_categorys_search) { |
| | | if (this.columns_categorys_search) {
|
| | | if (this.columns_categorys_search.indexOf(item.name) >= 0 ||
|
| | | item.name.indexOf(this.columns_categorys_search) >= 0
|
| | | ) {
|
| | | has = true |
| | | hasTrue = true |
| | | } |
| | | }
|
| | | // if (item.name == this.columns_categorys_search) {
|
| | | // has = true
|
| | | // hasTrue = true
|
| | | // }
|
| | | this.columns_categorys_dict['@' + item.id] = item |
| | | if (item.children && item.children.length > 0) { |
| | | tmp.children = [] |