微信小程序報錯:navigationBarBackgroundColor:is not hexColor的解決方法

1.報錯截圖: 2.錯誤緣由:navigationBarBackgroundColor只支持十六進制顏色碼方式的顯示,不支持其餘方式的顯示。官網說明以下: 3.解決方法:用shift+ctrl+F快捷鍵搜索項目中全部的含有navigationBarBackgroundColor的文件,把navigationBarBackgroundColor改成十六進制顏色碼方式的顯示,以下圖所示
相關文章
相關標籤/搜索