From 5f5f799e3ebcb559cc027ac17fa9c68a1a9117bf Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 31 三月 2023 12:51:56 +0800 Subject: [PATCH] 2023-03-31 --- src/tabviews/zshare/actionList/printbutton/index.jsx | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/src/tabviews/zshare/actionList/printbutton/index.jsx b/src/tabviews/zshare/actionList/printbutton/index.jsx index 8983ccf..9bdf99e 100644 --- a/src/tabviews/zshare/actionList/printbutton/index.jsx +++ b/src/tabviews/zshare/actionList/printbutton/index.jsx @@ -2120,6 +2120,14 @@ if (item.type === 'linkMain' || item.type === 'funcvar') { _readin = false + } else if (['select', 'link', 'radio'].includes(item.type)) { // 閫変腑绗竴椤� + if (typeof(_initval) === 'string' && _initval.indexOf('$first') > -1) { + _initval = '' + + if (item.resourceType === '0' && item.options[0] && item.options[0].Value) { + _initval = item.options[0].Value + } + } } if (item.type === 'linkMain' && BData.hasOwnProperty(item.field.toLowerCase())) { -- Gitblit v1.8.0