diff --git a/src/components/Device/components/Remark/index.vue b/src/components/Device/components/Remark/index.vue index 96aa75b..2a6d867 100644 --- a/src/components/Device/components/Remark/index.vue +++ b/src/components/Device/components/Remark/index.vue @@ -1,17 +1,9 @@ - @@ -46,15 +38,14 @@ export default { data() { return {} }, - created() {}, methods: { - onChange(value) { - // console.log('onChange', value) - this.$store.device.setRemark(this.device.id, value) - }, - async handleClick() { + async onShow() { this.$refs.elInput.focus() }, + + onInputChange(value) { + this.$store.device.setRemark(this.device.id, value) + }, }, }