提交 ce291282 编写于 作者: RedPig97's avatar RedPig97

fix: 修复报错

上级 518ceaad
<appRaw <AppRaw
name="{{item.codeName}}" name="{{item.codeName}}"
:date="state.data" :date="state.data"
{{#if item.psEditor.editorParams.contentType}} {{#if item.psEditor.editorParams.contentType}}
......
{{#eq item.psLayoutPos 'FLEX'}} {{#eq item.psLayoutPos 'FLEX'}}
<div style="flex-grow: {{#if item.psLayoutPos.grow}}{{item.psLayoutPos.grow}}{{else}}0{{/if}};"> <div style="flex-grow: {{#if item.psLayoutPos.grow}}{{item.psLayoutPos.grow}}{{else}}0{{/if}};">
<AppRaw <AppRaw
name="{{item.codeName}}"
v-show="state.detailsModel.{{item.codeName}}.visible" v-show="state.detailsModel.{{item.codeName}}.visible"
{{#if item.psSysCss}}class="{{item.psSysCss.cssName}}"{{/if}} {{#if item.psSysCss}}class="{{item.psSysCss.cssName}}"{{/if}}
{{#if item.psSysImage}}{{#if item.psSysImage.cssClass}}iconClass="{{item.psSysImage.cssClass}}"{{/if}}{{#if item.psSysImage.imagePath}}imgPath="{{item.psSysImage.imagePath}}"{{/if}}{{/if}} {{#if item.psSysImage}}{{#if item.psSysImage.cssClass}}iconClass="{{item.psSysImage.cssClass}}"{{/if}}{{#if item.psSysImage.imagePath}}imgPath="{{item.psSysImage.imagePath}}"{{/if}}{{/if}}
...@@ -12,6 +13,7 @@ ...@@ -12,6 +13,7 @@
<a-col <a-col
{{> @macro/front-end/widgets/common/layout-pos.hbs item=item.psLayoutPos}} > {{> @macro/front-end/widgets/common/layout-pos.hbs item=item.psLayoutPos}} >
<AppRaw <AppRaw
name="{{item.codeName}}"
v-show="state.detailsModel.{{item.codeName}}.visible" v-show="state.detailsModel.{{item.codeName}}.visible"
{{#if item.psSysCss}}class="{{item.psSysCss.cssName}}"{{/if}} {{#if item.psSysCss}}class="{{item.psSysCss.cssName}}"{{/if}}
{{#if item.psSysImage}}{{#if item.psSysImage.cssClass}}iconClass="{{item.psSysImage.cssClass}}"{{/if}}{{#if item.psSysImage.imagePath}}imgPath="{{item.psSysImage.imagePath}}"{{/if}}{{/if}} {{#if item.psSysImage}}{{#if item.psSysImage.cssClass}}iconClass="{{item.psSysImage.cssClass}}"{{/if}}{{#if item.psSysImage.imagePath}}imgPath="{{item.psSysImage.imagePath}}"{{/if}}{{/if}}
......
...@@ -48,7 +48,7 @@ interface SpanProps { ...@@ -48,7 +48,7 @@ interface SpanProps {
* @type {string} * @type {string}
* @memberof AppSpan * @memberof AppSpan
*/ */
valueFormat: string; valueFormat?: string;
/** /**
* 当前表单项名称 * 当前表单项名称
......
...@@ -3,7 +3,7 @@ import { IActionParam } from "@core"; ...@@ -3,7 +3,7 @@ import { IActionParam } from "@core";
interface FormGroupProps{ interface FormGroupProps{
name: string; name: string;
error: string; error?: string;
label: string; label: string;
} }
interface FormGroupEmit{ interface FormGroupEmit{
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册