app.json只要定义weui就报这个错误。
"useExtendedLib": {
"weui": true
},
[Component] the type of property "search" is illegal (when preparing "miniprogram_npm/weui-miniprogram/searchbar/searchbar").
(anonymous) @ WASubContext.js?t=we…57881927&v=2.30.2:1
o.safeCallback @ WASubContext.js?t=we…57881927&v=2.30.2:1
o.call @ WASubContext.js?t=we…57881927&v=2.30.2:1
o.triggerWarning @ WASubContext.js?t=we…57881927&v=2.30.2:1
c.prepare @ WASubContext.js?t=we…57881927&v=2.30.2:1
ma @ WASubContext.js?t=we…57881927&v=2.30.2:1
ya @ WASubContext.js?t=we…57881927&v=2.30.2:1
jr @ WASubContext.js?t=we…57881927&v=2.30.2:1
(anonymous) @ WASubContext.js?t=we…57881927&v=2.30.2:1
(anonymous) @ WASubContext.js?t=we…57881927&v=2.30.2:1
26 @ appservice.js:1487
n @ appservice.js:1487
module.exports.26 @ appservice.js:1487
define.isPage @ appservice.js:1487
I @ WASubContext.js?t=we…57881927&v=2.30.2:1
require @ appservice.js:18
(anonymous) @ appservice.js:1488