收藏
回答

the type of property "search" is illegal?

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



代码片段:https://developers.weixin.qq.com/s/g00zuLmM71Gy

回答关注问题邀请回答
收藏
登录 后发表内容