✌️
This commit is contained in:
parent
54dc54f2ae
commit
28c9458b85
3 changed files with 6 additions and 2 deletions
|
@ -49,10 +49,13 @@ export default Vue.extend({
|
|||
},
|
||||
mounted() {
|
||||
this.$nextTick(() => {
|
||||
(this.$refs.text as any).focus();
|
||||
this.focus();
|
||||
});
|
||||
},
|
||||
methods: {
|
||||
focus() {
|
||||
(this.$refs.text as any).focus();
|
||||
},
|
||||
chooseFile() {
|
||||
(this.$refs.file as any).click();
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue