为啥安装了lin-ui后微信小程序报了很多警告

来源:4-1 LinUI组件库介绍

慕移动9413326

2021-08-24

图片描述
为啥安装了lin-ui后微信小程序报了很多警告

写回答

2回答

Hi_Mike

2021-11-16

有同样问题 如何解决:

VM2439 WAService.js:2 [Component] the type of property "rules" is illegal (when preparing behavior "/4/064e3a8d").

(anonymous) @ VM2439 WAService.js:2

o.safeCallback @ VM2439 WAService.js:2

o.call @ VM2439 WAService.js:2

o.triggerWarning @ VM2439 WAService.js:2

u.prepare @ VM2439 WAService.js:2

u.prepare @ VM2439 WAService.js:2

Zo @ VM2439 WAService.js:2

$o @ VM2439 WAService.js:2

on @ VM2439 WAService.js:2

(anonymous) @ VM2439 WAService.js:2

(anonymous) @ VM2439 WAService.js:2

(anonymous) @ index.js? [sm]:1

p @ VM2439 WAService.js:2

(anonymous) @ VM2622:5152

doWhenAllScriptLoaded @ VM2510:5957

scriptLoaded @ VM2510:5985

(anonymous) @ VM2510:6010

load (async)

(anonymous) @ assubloader.js:1

V @ VM2439 WAService.js:2

loadScripts @ assubloader.js:1

async function (async)

loadScripts @ assubloader.js:1

loadAppResourceScripts @ assubloader.js:1

(anonymous) @ VM2510:6029

(anonymous) @ VM2510:6035

loadScripts @ assubloader.js:1

async function (async)

loadScripts @ assubloader.js:1

loadAppResourceScripts @ assubloader.js:1

(anonymous) @ VM2506:1

t.loadScripts @ VM8 asdebug.js:1

loadAppService @ VM8 asdebug.js:1

messagerCallback @ VM8 asdebug.js:1

(anonymous) @ VM8 asdebug.js:1

f @ VM8 asdebug.js:1

g @ VM8 asdebug.js:1

(anonymous) @ VM8 asdebug.js:1

_ws.onmessage @ VM8 asdebug.js:1

VM2439 WAService.js:2 [Component] the type of property "maxSelected" is illegal (when preparing behavior "miniprogram_npm/lin-ui/checkbox-group/index").

(anonymous) @ VM2439 WAService.js:2

o.safeCallback @ VM2439 WAService.js:2

o.call @ VM2439 WAService.js:2

o.triggerWarning @ VM2439 WAService.js:2

u.prepare @ VM2439 WAService.js:2

Zo @ VM2439 WAService.js:2

$o @ VM2439 WAService.js:2

on @ VM2439 WAService.js:2

(anonymous) @ VM2439 WAService.js:2

(anonymous) @ VM2439 WAService.js:2

(anonymous) @ index.js? [sm]:1

p @ VM2439 WAService.js:2

(anonymous) @ VM2622:5152

doWhenAllScriptLoaded @ VM2510:5957

scriptLoaded @ VM2510:5985

(anonymous) @ VM2510:6010

load (async)

(anonymous) @ assubloader.js:1

V @ VM2439 WAService.js:2

loadScripts @ assubloader.js:1

async function (async)

loadScripts @ assubloader.js:1

loadAppResourceScripts @ assubloader.js:1

(anonymous) @ VM2510:6029

(anonymous) @ VM2510:6035

loadScripts @ assubloader.js:1

async function (async)

loadScripts @ assubloader.js:1

loadAppResourceScripts @ assubloader.js:1

(anonymous) @ VM2506:1

t.loadScripts @ VM8 asdebug.js:1

loadAppService @ VM8 asdebug.js:1

messagerCallback @ VM8 asdebug.js:1

(anonymous) @ VM8 asdebug.js:1

f @ VM8 asdebug.js:1

g @ VM8 asdebug.js:1

(anonymous) @ VM8 asdebug.js:1

_ws.onmessage @ VM8 asdebug.js:1

VM2439 WAService.js:2 [Component] the type of property "minSelected" is illegal (when preparing behavior "miniprogram_npm/lin-ui/checkbox-group/index").

(anonymous) @ VM2439 WAService.js:2

o.safeCallback @ VM2439 WAService.js:2

o.call @ VM2439 WAService.js:2

o.triggerWarning @ VM2439 WAService.js:2

u.prepare @ VM2439 WAService.js:2

Zo @ VM2439 WAService.js:2

$o @ VM2439 WAService.js:2

on @ VM2439 WAService.js:2

(anonymous) @ VM2439 WAService.js:2

(anonymous) @ VM2439 WAService.js:2

(anonymous) @ index.js? [sm]:1

p @ VM2439 WAService.js:2

(anonymous) @ VM2622:5152

doWhenAllScriptLoaded @ VM2510:5957

scriptLoaded @ VM2510:5985

(anonymous) @ VM2510:6010

load (async)

(anonymous) @ assubloader.js:1

V @ VM2439 WAService.js:2

loadScripts @ assubloader.js:1

async function (async)

loadScripts @ assubloader.js:1

loadAppResourceScripts @ assubloader.js:1

(anonymous) @ VM2510:6029

(anonymous) @ VM2510:6035

loadScripts @ assubloader.js:1

async function (async)

loadScripts @ assubloader.js:1

loadAppResourceScripts @ assubloader.js:1

(anonymous) @ VM2506:1

t.loadScripts @ VM8 asdebug.js:1

loadAppService @ VM8 asdebug.js:1

messagerCallback @ VM8 asdebug.js:1

(anonymous) @ VM8 asdebug.js:1

f @ VM8 asdebug.js:1

g @ VM8 asdebug.js:1

(anonymous) @ VM8 asdebug.js:1

_ws.onmessage @ VM8 asdebug.js:1

VM2439 WAService.js:2 [Component] the type of property "time" is illegal (when preparing behavior "/5/f6f07713").

(anonymous) @ VM2439 WAService.js:2

o.safeCallback @ VM2439 WAService.js:2

o.call @ VM2439 WAService.js:2

o.triggerWarning @ VM2439 WAService.js:2

u.prepare @ VM2439 WAService.js:2

u.prepare @ VM2439 WAService.js:2

Zo @ VM2439 WAService.js:2

$o @ VM2439 WAService.js:2

on @ VM2439 WAService.js:2

(anonymous) @ VM2439 WAService.js:2

(anonymous) @ VM2439 WAService.js:2

(anonymous) @ index.js? [sm]:1

p @ VM2439 WAService.js:2

(anonymous) @ VM2622:5236

doWhenAllScriptLoaded @ VM2510:5957

scriptLoaded @ VM2510:5985

(anonymous) @ VM2510:6010

load (async)

(anonymous) @ assubloader.js:1

V @ VM2439 WAService.js:2

loadScripts @ assubloader.js:1

async function (async)

loadScripts @ assubloader.js:1

loadAppResourceScripts @ assubloader.js:1

(anonymous) @ VM2510:6029

(anonymous) @ VM2510:6035

loadScripts @ assubloader.js:1

async function (async)

loadScripts @ assubloader.js:1

loadAppResourceScripts @ assubloader.js:1

(anonymous) @ VM2506:1

t.loadScripts @ VM8 asdebug.js:1

loadAppService @ VM8 asdebug.js:1

messagerCallback @ VM8 asdebug.js:1

(anonymous) @ VM8 asdebug.js:1

f @ VM8 asdebug.js:1

g @ VM8 asdebug.js:1

(anonymous) @ VM8 asdebug.js:1

_ws.onmessage @ VM8 asdebug.js:1

VM2439 WAService.js:2 [Component] the type of property "count" is illegal (when preparing behavior "miniprogram_npm/lin-ui/image-picker/index").

(anonymous) @ VM2439 WAService.js:2

o.safeCallback @ VM2439 WAService.js:2

o.call @ VM2439 WAService.js:2

o.triggerWarning @ VM2439 WAService.js:2

u.prepare @ VM2439 WAService.js:2

Zo @ VM2439 WAService.js:2

$o @ VM2439 WAService.js:2

on @ VM2439 WAService.js:2

(anonymous) @ VM2439 WAService.js:2

(anonymous) @ VM2439 WAService.js:2

(anonymous) @ index.js? [sm]:1

p @ VM2439 WAService.js:2

(anonymous) @ VM2622:5404

doWhenAllScriptLoaded @ VM2510:5957

scriptLoaded @ VM2510:5985

(anonymous) @ VM2510:6010

load (async)

(anonymous) @ assubloader.js:1

V @ VM2439 WAService.js:2

loadScripts @ assubloader.js:1

async function (async)

loadScripts @ assubloader.js:1

loadAppResourceScripts @ assubloader.js:1

(anonymous) @ VM2510:6029

(anonymous) @ VM2510:6035

loadScripts @ assubloader.js:1

async function (async)

loadScripts @ assubloader.js:1

loadAppResourceScripts @ assubloader.js:1

(anonymous) @ VM2506:1

t.loadScripts @ VM8 asdebug.js:1

loadAppService @ VM8 asdebug.js:1

messagerCallback @ VM8 asdebug.js:1

(anonymous) @ VM8 asdebug.js:1

f @ VM8 asdebug.js:1

g @ VM8 asdebug.js:1

(anonymous) @ VM8 asdebug.js:1

_ws.onmessage @ VM8 asdebug.js:1

VM2439 WAService.js:2 [Component] the type of property "size" is illegal (when preparing behavior "miniprogram_npm/lin-ui/image-picker/index").

(anonymous) @ VM2439 WAService.js:2

o.safeCallback @ VM2439 WAService.js:2

o.call @ VM2439 WAService.js:2

o.triggerWarning @ VM2439 WAService.js:2

u.prepare @ VM2439 WAService.js:2

Zo @ VM2439 WAService.js:2

$o @ VM2439 WAService.js:2

on @ VM2439 WAService.js:2

(anonymous) @ VM2439 WAService.js:2

(anonymous) @ VM2439 WAService.js:2

(anonymous) @ index.js? [sm]:1

p @ VM2439 WAService.js:2

(anonymous) @ VM2622:5404

doWhenAllScriptLoaded @ VM2510:5957

scriptLoaded @ VM2510:5985

(anonymous) @ VM2510:6010

load (async)

(anonymous) @ assubloader.js:1

V @ VM2439 WAService.js:2

loadScripts @ assubloader.js:1

async function (async)

loadScripts @ assubloader.js:1

loadAppResourceScripts @ assubloader.js:1

(anonymous) @ VM2510:6029

(anonymous) @ VM2510:6035

loadScripts @ assubloader.js:1

async function (async)

loadScripts @ assubloader.js:1

loadAppResourceScripts @ assubloader.js:1

(anonymous) @ VM2506:1

t.loadScripts @ VM8 asdebug.js:1

loadAppService @ VM8 asdebug.js:1

messagerCallback @ VM8 asdebug.js:1

(anonymous) @ VM8 asdebug.js:1

f @ VM8 asdebug.js:1

g @ VM8 asdebug.js:1

(anonymous) @ VM8 asdebug.js:1

_ws.onmessage @ VM8 asdebug.js:1

VM2439 WAService.js:2 [Component] the type of property "opacity" is illegal (when preparing behavior "miniprogram_npm/lin-ui/mask/index").

0
0

幕然回首

2021-09-16

换最新的微信开发者工具,按照老师上课的步骤走一遍
1.npm init

2.npm i lin-ui@0.8.7 -S

3.微信开发者工具 > 菜单栏工具 > 构建 npm

0
1
Hi_Mike
按照这个做了 小程序开发工具升级了,还是有很多警告信息。
2021-11-16
共1条回复

微信小程序入门与实战(全新版) 超20000人学习的好课

4年同步微信官方迭代,累计20000+人学习, 比微信官方更火爆!

23867 学习 · 6899 问题

查看课程