data: { usr: '' } methods: { upper: function(ev){ this.usr = this.$refs.name.value.toUpperCase(); // it's OK } }, computed: { usr: ...
確定! 回上一頁