This commit is contained in:
syuilo
2018-02-18 18:40:24 +09:00
parent 8b6e9050c4
commit e82864d4fc
9 changed files with 12 additions and 12 deletions

View File

@@ -43,7 +43,9 @@ export default Vue.extend({
},
mounted() {
if (this.default) this.text = this.default;
(this.$refs.text as any).focus();
this.$nextTick(() => {
(this.$refs.text as any).focus();
});
},
methods: {
ok() {