请问为什么手指滑动出现这个错误

来源:4-5 警惕频繁事件交互和 setData

沈澈

2021-06-04

我在学第四章的时候,手机移动出现这个报错Argument type {data: {currentTabIndex: number}, methods: {handleTouchend: methods.handleTouchend, handleTabChange: methods.handleTabChange, handleTouchstart: methods.handleTouchstart}, options: {multipleSlots: boolean}, properties: {tabs: {type: ArrayConstructor, value: []}}} is not assignable to parameter type Options<{currentTabIndex: number}, {tabs: {type: ArrayConstructor, value: []}}, MethodOption>  Type methods.handleTouchend is not assignable to type (…args: any[]) => any

写回答

2回答

qq_慕仰6477536

2022-06-18

跟着写了触发函数但触发不了,为什么
0
0

沁尘

2021-06-04

同学你好,在群里回复你了

0
0

《慕慕到家》家政小程序组件化进阶实战-优质项目

千锤百炼的实践分享,成就你独当一面

494 学习 · 306 问题

查看课程