This commit is contained in:
mac
2023-12-04 21:22:57 +08:00
parent fe0388502f
commit 612cffc20d

View File

@@ -103,7 +103,7 @@
enableWidth: 0,
enableHeight: 0,
fontSize: 0,
navStyle: 'left'
navStyle: 'center'
};
},
mounted() {
@@ -116,7 +116,7 @@
}
}
// 赋值样式
// this.navStyle = getApp().globalData.navInfo.navBar.style
this.navStyle = getApp().globalData.navInfo.navBar.style
},
created() {
// create阶段能拿取到了props的值,需要使用this.变量名