|
@@ -225,6 +225,9 @@ export const formSchema: FormSchema[] = [
|
|
|
label: '',
|
|
|
component: 'RangePicker',
|
|
|
labelWidth: 0,
|
|
|
+ ifShow(renderCallbackParams) {
|
|
|
+ return renderCallbackParams.model.type == 1;
|
|
|
+ },
|
|
|
},
|
|
|
{
|
|
|
field: 'before',
|
|
@@ -234,6 +237,9 @@ export const formSchema: FormSchema[] = [
|
|
|
componentProps: {
|
|
|
tipText: '支持单张上传;宽高比为5:4,且宽高均大于480px,大小5M以内。',
|
|
|
},
|
|
|
+ ifShow(renderCallbackParams) {
|
|
|
+ return renderCallbackParams.model.type == 1;
|
|
|
+ },
|
|
|
},
|
|
|
{
|
|
|
field: 'after',
|
|
@@ -243,6 +249,9 @@ export const formSchema: FormSchema[] = [
|
|
|
componentProps: {
|
|
|
tipText: '支持单张上传;宽高比为5:4,且宽高均大于480px,大小5M以内。',
|
|
|
},
|
|
|
+ ifShow(renderCallbackParams) {
|
|
|
+ return renderCallbackParams.model.type == 1;
|
|
|
+ },
|
|
|
},
|
|
|
{
|
|
|
field: 'left',
|
|
@@ -252,6 +261,9 @@ export const formSchema: FormSchema[] = [
|
|
|
componentProps: {
|
|
|
tipText: '支持单张上传;宽高比为5:4,且宽高均大于480px,大小5M以内。',
|
|
|
},
|
|
|
+ ifShow(renderCallbackParams) {
|
|
|
+ return renderCallbackParams.model.type == 1;
|
|
|
+ },
|
|
|
},
|
|
|
{
|
|
|
field: 'right',
|
|
@@ -261,6 +273,9 @@ export const formSchema: FormSchema[] = [
|
|
|
tipText: '支持单张上传;宽高比为5:4,且宽高均大于480px,大小5M以内。',
|
|
|
},
|
|
|
colProps: { xl: 12 },
|
|
|
+ ifShow(renderCallbackParams) {
|
|
|
+ return renderCallbackParams.model.type == 1;
|
|
|
+ },
|
|
|
},
|
|
|
{
|
|
|
field: 'up',
|
|
@@ -270,6 +285,9 @@ export const formSchema: FormSchema[] = [
|
|
|
tipText: '支持单张上传;宽高比为5:4,且宽高均大于480px,大小5M以内。',
|
|
|
},
|
|
|
colProps: { xl: 12 },
|
|
|
+ ifShow(renderCallbackParams) {
|
|
|
+ return renderCallbackParams.model.type == 1;
|
|
|
+ },
|
|
|
},
|
|
|
{
|
|
|
field: 'down',
|
|
@@ -279,5 +297,8 @@ export const formSchema: FormSchema[] = [
|
|
|
tipText: '支持单张上传;宽高比为5:4,且宽高均大于480px,大小5M以内。',
|
|
|
},
|
|
|
colProps: { xl: 12 },
|
|
|
+ ifShow(renderCallbackParams) {
|
|
|
+ return renderCallbackParams.model.type == 1;
|
|
|
+ },
|
|
|
},
|
|
|
];
|