nutui框架,
代码直接copy的官网:https:/utui.jd.com/2x/#/infiniteloading
心好累,求教怎么个意思啊这是2333
unexpected character `@`?unexpected character `@`?
unexpected character `@`?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
回答:
你在小程序里直接用vue组件库肯定不行呀,语法都不对
onInfinite定义了没,清楚缓存重新编译一下
= =你这是未编译的taro的写法。需要编译后的代码导入到工具里。