5***@qq.com
5***@qq.com
  • 发布:2020-12-26 20:08
  • 更新:2020-12-26 20:08
  • 阅读:512

关于$refs的类型推断

分类:uni-app
private handleReloadList(params: CompletedData | UnDoneData) {  
    this.$refs.drawer.close()  
    if (this.cur === 0) {  
      this.getList(params, 'unDoneData')  
    } else {  
      this.getList(params, 'completedData')  
    }  
  }

目前除了用any 还有什么方法 不让 ‘ this.$refs.drawer.close() ’这行代码在tslint下不报错呢?

2020-12-26 20:08 负责人:无 分享
已邀请:

该问题目前已经被锁定, 无法添加新回复