[Fix-10890] fix some bugs in the Resource page#10907
Conversation
| const removeFile = () => { | ||
| state.uploadForm.name = '' | ||
| state.uploadForm.file = '' | ||
| state.uploadFormRef.validate() |
There was a problem hiding this comment.
No verification is required here.
There was a problem hiding this comment.
Agree. I'll add a commit to cancel the verification.
| const removeFile = () => { | ||
| state.uploadForm.name = '' | ||
| state.uploadForm.file = '' | ||
| state.uploadFormRef.validate() |
There was a problem hiding this comment.
No verification is required here.
There was a problem hiding this comment.
Agree. I'll add a commit to cancel the verification.
…celing FileUploadModal
|
I add the |
Codecov Report
@@ Coverage Diff @@
## dev #10907 +/- ##
============================================
+ Coverage 40.20% 40.31% +0.11%
- Complexity 4840 4860 +20
============================================
Files 944 943 -1
Lines 36965 37015 +50
Branches 4045 4060 +15
============================================
+ Hits 14861 14922 +61
+ Misses 20608 20593 -15
- Partials 1496 1500 +4
Continue to review full report at Codecov.
|
| const { handleUploadFile } = useUpload(state) | ||
|
|
||
| const hideModal = () => { | ||
| state.uploadForm.name = '' |
There was a problem hiding this comment.
The resetForm function above can reset the form. line 37
|
Kudos, SonarCloud Quality Gate passed!
|
* [Fix-10890] fix some bugs in the Resource page * fix: cancel the unnecessary verifications and reset the form when canceling FileUploadModal * fix: use se `resetForm` method to reset the form
* [Fix-10890] fix some bugs in the Resource page * fix: cancel the unnecessary verifications and reset the form when canceling FileUploadModal * fix: use se `resetForm` method to reset the form













Purpose of the pull request
close #10890
fix some bugs in the
ResourcepageBrief change log
UDF Manage - Resouce Manage. Fixed the title and labeltypeVerify this pull request
This pull request is code cleanup without any test coverage.