unexpected character `@`?

小程序 文章 2022-04-28 14:00 0 全屏看文

unexpected character `@`?unexpected character `@`?

unexpected character `@`?

nutui框架,

代码直接copy的官网:https:/utui.jd.com/2x/#/infiniteloading

心好累,求教怎么个意思啊这是2333

Nutui framework, the code is directly copied to the official website: https:/utui.jd.com/2x/#/infiniteloading I'm so tired. What's the meaning of asking for advice? This is 2333

回答:

订阅happiness:

= =你这是未编译的taro的写法。需要编译后的代码导入到工具里。

A.G.A.I.N:

你在小程序里直接用vue组件库肯定不行呀,语法都不对

豹富:

onInfinite定义了没,清楚缓存重新编译一下

ZhaoYi .:函数是定义了的,bind:方式不会报错。清缓存尝试过了没有效果

-EOF-