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