From 7b952b64a2b7273c6d2af68200a6ae790d9b59b1 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 10 六月 2021 16:33:00 +0800 Subject: [PATCH] 2021-06-10 --- src/tabviews/zshare/actionList/normalbutton/index.jsx | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/src/tabviews/zshare/actionList/normalbutton/index.jsx b/src/tabviews/zshare/actionList/normalbutton/index.jsx index 34b102b..03857a3 100644 --- a/src/tabviews/zshare/actionList/normalbutton/index.jsx +++ b/src/tabviews/zshare/actionList/normalbutton/index.jsx @@ -1613,13 +1613,19 @@ _initval = '' } + let _type = item.type + + if (['date', 'datemonth', 'datetime'].includes(_type) && item.declareType === 'nvarchar(50)') { + _type = 'text' + } + result.push({ key: item.field, readonly: item.readonly === 'true', readin: _readin, fieldlen: _fieldlen, writein: item.writein !== 'false', - type: item.type, + type: _type, value: _initval }) }) -- Gitblit v1.8.0