File tree Expand file tree Collapse file tree
3.read-video-angular/src/app/img-decode
4.read-video-react/src/components/ImgDecode
5.read-video-vue/src/components
6.read-video-vue3/src/components
7.read-video-nextjs/components
8.read-video-nuxtjs/components Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ export class ImgDecodeComponent implements OnInit {
2121 } catch ( ex ) {
2222 console . error ( ex ) ;
2323 }
24+ e . target . value = '' ;
2425 }
2526
2627 async ngOnDestroy ( ) {
Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ export default class ImgDecode extends Component {
1818 } catch ( ex ) {
1919 console . error ( ex ) ;
2020 }
21+ e . target . value = '' ;
2122 }
2223
2324 async componentWillUnmount ( ) {
Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ export default {
2222 } catch (ex) {
2323 console .error (ex);
2424 }
25+ e .target .value = ' ' ;
2526 }
2627 },
2728 async beforeDestroy () {
Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ export default {
2020 } catch (ex) {
2121 console .error (ex);
2222 }
23+ e .target .value = ' ' ;
2324 }
2425 onBeforeUnmount (async () => {
2526 if (pReader .value ) {
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ export default class ImgDecode extends Component {
1717 } catch ( ex ) {
1818 console . error ( ex ) ;
1919 }
20+ e . target . value = '' ;
2021 }
2122
2223 async componentWillUnmount ( ) {
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ export default {
2323 } catch (ex) {
2424 console .error (ex);
2525 }
26+ e .target .value = ' ' ;
2627 }
2728 },
2829 async beforeDestroy () {
You can’t perform that action at this time.
0 commit comments