Skip to content

Commit 5c3c312

Browse files
committed
e.target.value = ''
1 parent acf6419 commit 5c3c312

File tree

6 files changed

+6
-0
lines changed

6 files changed

+6
-0
lines changed

1.hello-world/3.read-video-angular/src/app/img-decode/img-decode.component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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() {

1.hello-world/4.read-video-react/src/components/ImgDecode/ImgDecode.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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() {

1.hello-world/5.read-video-vue/src/components/ImgDecode.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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() {

1.hello-world/6.read-video-vue3/src/components/ImgDecode.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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) {

1.hello-world/7.read-video-nextjs/components/ImgDecode.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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() {

1.hello-world/8.read-video-nuxtjs/components/ImgDecode.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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() {

0 commit comments

Comments
 (0)