[更新]变更了获取企业信息配置,简化配置文件

This commit is contained in:
唐明明
2020-12-30 10:31:55 +08:00
parent 3e59b16c27
commit 49a7bade36
4 changed files with 13 additions and 26 deletions

View File

@@ -4,8 +4,6 @@
* 碌碌无为枉半生,一朝惊醒万事空。
*/
import { tabBar } from "../../lib/storeConfig"
Component({
/**
* 组件接收参数
@@ -33,6 +31,7 @@ Component({
*/
pageLifetimes: {
show(){
let tabBar = getApp().globalData.storeTabBarConfig
let selectedIndex = tabBar.findIndex(val=> val.pagePath == '/' + this.data.pagesUrl)
this.setData({
list : tabBar,