提交 31e2e9b3 编写于 作者: d-u-a's avatar d-u-a

fix: page-meta 组件在字节小程序上报错的问题

上级 8a00c42a
...@@ -147,7 +147,7 @@ export default { ...@@ -147,7 +147,7 @@ export default {
setBackgroundTextStyle () { setBackgroundTextStyle () {
// TODO h5 app-plus 暂不支持 // TODO h5 app-plus 暂不支持
// #ifdef MP // #ifdef MP
uni.setBackgroundTextStyle({ uni.setBackgroundTextStyle && uni.setBackgroundTextStyle({
textStyle: this.backgroundTextStyle textStyle: this.backgroundTextStyle
}) })
// #endif // #endif
...@@ -155,7 +155,7 @@ export default { ...@@ -155,7 +155,7 @@ export default {
setBackgroundColor () { setBackgroundColor () {
// TODO h5 app-plus 暂不支持 // TODO h5 app-plus 暂不支持
// #ifdef MP // #ifdef MP
uni.setBackgroundColor({ uni.setBackgroundColor && uni.setBackgroundColor({
backgroundColor: this.backgroundColor, backgroundColor: this.backgroundColor,
backgroundColorTop: this.backgroundColorTop, backgroundColorTop: this.backgroundColorTop,
backgroundColorBottom: this.backgroundColorBottom backgroundColorBottom: this.backgroundColorBottom
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册