From d5ace3dfb18c48670da093b25c32049cb520f0d9 Mon Sep 17 00:00:00 2001 From: xy <271556543@qq.com> Date: Thu, 6 Mar 2025 10:01:10 +0800 Subject: [PATCH] init --- script/tableTemplate.ejs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/tableTemplate.ejs b/script/tableTemplate.ejs index da99ab3..cf7acdc 100644 --- a/script/tableTemplate.ejs +++ b/script/tableTemplate.ejs @@ -126,7 +126,7 @@ field="<%- field.name %>" width="<%- field.width || 180 %>" title="<%- field.label %>" - :edit-render="{ name: 'VxeSelect', options: <%- field.optionsFrom ? field.optionsFrom : JSON.stringify(field.optionsParams).replaceAll('"','\'') %>, props: { multiple: <%- field.props?.multiple ?? false %> }, optionProps: { value: '<%- field.optionProps?.value ?? 'value' %>', label: '<%- field.optionProps?.label ?? 'label' %>' } }" + :edit-render="{ name: 'VxeSelect', options: <%- field.optionsFrom ? handleFormName(field.optionsFrom) : JSON.stringify(field.optionsParams).replaceAll('"','\'') %>, props: { multiple: <%- field.props?.multiple ?? false %> }, optionProps: { value: '<%- field.optionProps?.value ?? 'value' %>', label: '<%- field.optionProps?.label ?? 'label' %>' } }" /> <% break case 'date': %>