From 5101c2382a43d898aee718537160289091321383 Mon Sep 17 00:00:00 2001 From: 南骏 池 <chiffly@163.com> Date: 星期三, 13 八月 2025 13:58:11 +0800 Subject: [PATCH] 1.返工绑定-PDA --- H5/Js/Cpbdsj.js | 18 ++++++++++++++++++ 1 files changed, 18 insertions(+), 0 deletions(-) diff --git a/H5/Js/Cpbdsj.js b/H5/Js/Cpbdsj.js index 4860244..47681a5 100644 --- a/H5/Js/Cpbdsj.js +++ b/H5/Js/Cpbdsj.js @@ -27,6 +27,9 @@ //} ], DAA001: [], + show: false,//鍒楄〃灞曠ず + actions: [],//鍒楄〃鐨勫�� + xt:"", } }, mounted() { @@ -344,5 +347,20 @@ that.$refs.KbBar.focus(); }); }, + + onSelect(item) { + // 榛樿鎯呭喌涓嬬偣鍑婚�夐」鏃朵笉浼氳嚜鍔ㄦ敹璧� + // 鍙互閫氳繃 close-on-click-action 灞炴�у紑鍚嚜鍔ㄦ敹璧� + this.show = false; + console.log(item); + // 姝e垯鍖归厤绗竴涓柟鎷彿鍐呭 + const regex = /\[([^\]]+)\]/; + const matchResult = item.name.match(regex); + this.xt = item.name; + //this.$toast(item.name); + + }, + + } }) \ No newline at end of file -- Gitblit v1.9.3