Invalid prop: type check failed for prop "isactivity". Expected Boolean, got String with value "true".
时间: 2023-10-19 11:31:49 浏览: 50
这个错误是由于使用了错误的属性值导致的。错误信息显示,预期的属性是布尔值,但实际传递的却是字符串。在这种情况下,属性"isactivity"的预期类型是布尔值,但实际传递的值是字符串"true"。要解决这个问题,您需要将属性值改为布尔值,即将字符串"true"更改为布尔值true。这样就能正确匹配预期的属性类型。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* *3* [❤ Invalid prop: type check failed for prop “hideRequiredAsterisk“. Expected Boolean, got String ...](https://blog.csdn.net/weixin_43615570/article/details/127083639)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 100%"]
[ .reference_list ]