From c63a0a699d2bacd5bb1bdaab5e6deaa14ab91f32 Mon Sep 17 00:00:00 2001 From: wu <2468489804@qq.com> Date: Wed, 24 Aug 2022 16:31:16 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E8=AE=BE=E5=A4=87=E8=8A=82?= =?UTF-8?q?=E7=82=B9=E5=90=8D=E7=A7=B0=E8=BF=87=E9=95=BF=E6=98=BE=E7=A4=BA?= =?UTF-8?q?tooltip&=E4=BF=AE=E6=94=B9=E8=A1=A8=E6=A0=BC=E9=A1=B9=E9=95=BF?= =?UTF-8?q?=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../edgeServer/edgeServerConfigure/device.vue | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/src/views/edgeServer/edgeServerConfigure/device.vue b/src/views/edgeServer/edgeServerConfigure/device.vue index f8622e6..9f6635c 100644 --- a/src/views/edgeServer/edgeServerConfigure/device.vue +++ b/src/views/edgeServer/edgeServerConfigure/device.vue @@ -135,8 +135,14 @@ export default { { title: '名称', key: '@Name', + 'show-overflow-tooltip': true, component: { size: 'small' + }, + filterMethod (value, row) { + console.log(value) + console.log(value) + return row.tag === value } }, { @@ -171,6 +177,7 @@ export default { { title: '长度', key: '@Length', + width: '80%', component: { name: 'el-input', size: 'small' @@ -187,6 +194,7 @@ export default { { title: '当前值', key: '@Value', + width: '80%', component: { name: 'el-input', size: 'small' @@ -194,7 +202,7 @@ export default { } ], rowHandle: { - minWidth: '200', + minWidth: '150', custom: [ { text: '绑定', @@ -232,8 +240,7 @@ export default { }, formOptions: { modal: false, - saveLoading: false, - showOverflowTooltip: true + saveLoading: false }, addTemplate: { '@Name': { @@ -495,7 +502,6 @@ export default { assign(o, { id: i + 1, showBindButton: true, - showSendButton: true, showCopyButton: true, showRemoveButton: true }) @@ -578,8 +584,7 @@ export default { id: this.devicePointData.length + 1, showBindButton: true, showCopyButton: true, - showRemoveButton: true, - showSendButton: true + showRemoveButton: true }) this.devicePointData.push(row) done() @@ -663,7 +668,6 @@ export default { unset(item, 'showBindButton') unset(item, 'showCopyButton') unset(item, 'showRemoveButton') - unset(item, 'showSendButton') unset(item, '@Value') item['@Binding'] = item['@Binding'] || '' })