修改设备详情
This commit is contained in:
parent
164138577c
commit
999489671d
@ -112,7 +112,7 @@
|
||||
<view class="deviceN_input_warp">
|
||||
<view class="device_name_txt"> 请输入设备名称:</view>
|
||||
<view class="deviceN_input_area">
|
||||
<input class="deviceN_input" type="text" v-model="deviceName" />
|
||||
<input class="deviceN_input" type="text" v-model="deviceName" @input="onDeviceNameInput" />
|
||||
<view class="clear_deviceN_warp">
|
||||
<image class="clear_deviceN_icon" @click="deviceName = ''" v-if="deviceName"
|
||||
src="https://online.totustec.com/upload/deviceManage/clear_deviceN_icon.png">
|
||||
@ -551,6 +551,10 @@
|
||||
});
|
||||
}
|
||||
},
|
||||
onDeviceNameInput(e) {
|
||||
this.deviceName = e.detail.value;
|
||||
// console.log('输入内容:', e.detail.value);
|
||||
},
|
||||
},
|
||||
};
|
||||
</script>
|
||||
@ -627,6 +631,8 @@
|
||||
display: flex;
|
||||
align-items: center;
|
||||
z-index: 99;
|
||||
pointer-events: auto;
|
||||
width: 40rpx;
|
||||
}
|
||||
|
||||
.clear_deviceN_icon {
|
||||
|
Loading…
Reference in New Issue
Block a user