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/normalbutton/index.jsx | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/src/tabviews/zshare/actionList/normalbutton/index.jsx b/src/tabviews/zshare/actionList/normalbutton/index.jsx index b22f897..699bebe 100644 --- a/src/tabviews/zshare/actionList/normalbutton/index.jsx +++ b/src/tabviews/zshare/actionList/normalbutton/index.jsx @@ -2614,6 +2614,14 @@ } else if (item.type === 'datetime') { _item.type = 'date' _format = 'YYYY-MM-DD HH:mm:ss' + } 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 + } + } } let key = item.field.toLowerCase() -- Gitblit v1.8.0