You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/* this.$emit('remove', file) , return value is this , not Boolean or Promise */handleRemove: functionhandleRemove(file){var_this2=this;Promise.resolve(this.$emit('remove',file)).then(function(ret){// Prevent removing fileif(ret===false){return;}varremovedFileList=(0,_utils.removeFileItem)(file,_this2.sFileList);if(removedFileList){_this2.onChange({file: file,fileList: removedFileList});}});},
What is expected?
ret : Boolean or Promise
What is actually happening?
ret : this === Component
The text was updated successfully, but these errors were encountered:
Version
1.1.7
Environment
any
Reproduction link
https://tangjinzhou.gitee.io/ant-design-vue/components/upload-cn/
Steps to reproduce
What is expected?
ret : Boolean or Promise
What is actually happening?
ret : this === Component
The text was updated successfully, but these errors were encountered: