[Vue warn]: Invalid prop: custom validator check failed for prop “navigationBarTextStyle“.
uniapp,h5 interface report an error:
“globalStyle”: {
“navigationBarTextStyle”: “white”,
“navigationBarTitleText”: “uni-app”,
“navigationBarBackgroundColor”: “#ffaaff”,
“backgroundColor”: “#00ff00”,
“enablePullDownRefresh”: true,
“backgroundTextStyle”: “light”
}
Reason & Solution:
The navigationBarTextStyle property can only be filled with white or black, not with hexadecimal
Read More:
- The page console error [Vue warn]: Invalid prop: custom validator check failed for prop “status“
- [Vue warn]: Invalid prop: custom validator check failed for prop “index“
- [Solved] Invalid prop: type check failed for prop “modelValue“. Expected Number…
- [Vue warn]: Invalid prop: type check failed for prop “index“. Expected String, got Undefined
- [Vue warn]: Invalid prop: type check failed for prop [How to Solve]
- [Solved] Invalid prop: type check failed for prop “index“. Expected String, got Undefined
- How to Solve Error: [Vue warn]: Missing required prop: “value”
- [Solved] el-date-picker Error: Avoid mutating a prop directly since the value will be overwritten whenever the parent component re-renders.
- Please transfer a valid prop path to form item
- How to Solve VUE Error: Avoid mutating a prop directly since the value will be overwritten …
- [Vue warn]Error in mounted hook: “Error: please transfer a valid prop path to form item“
- [Vue warn]: Error in mounted hook: “Error: please transfer a valid prop path to form item“
- Vue modifies the value passed by props error: Avoid mutating a prop directly since the value will be overwritten whenever the par
- [Solved] Error in mounted hook: “Error: please transfer a valid prop
- [Solved] Error in v-on handler: “Error: please transfer a valid prop path to form item
- [Solved] Front end error: Unknown custom element
- [Solved] Custom components with click events do not work
- Vue wran name Error: Unkown custom element [How to Solve]
- The solution to the problem that the custom styles of UI components such as element-ui in the vue project do not take effect
- [Solved] Vue3 Configuration routing error: Catch all routes (“*“) must now be defined using a param with a custom regexp.