From 704011800afdf0e87dc006b8d6e444556eaa9bf8 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 10 八月 2021 14:24:42 +0800 Subject: [PATCH] 2021-08-10 --- src/menu/components/card/cardcellcomponent/elementform/index.jsx | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/src/menu/components/card/cardcellcomponent/elementform/index.jsx b/src/menu/components/card/cardcellcomponent/elementform/index.jsx index 84ae886..36b1449 100644 --- a/src/menu/components/card/cardcellcomponent/elementform/index.jsx +++ b/src/menu/components/card/cardcellcomponent/elementform/index.jsx @@ -16,7 +16,7 @@ sequence: ['eleType', 'width'], text: ['eleType', 'datatype', 'format', 'width', 'height', 'prefix', 'postfix', 'link'], number: ['eleType', 'datatype', 'format', 'width', 'height', 'prefix', 'postfix'], - picture: ['eleType', 'datatype', 'width', 'lenWidRadio', 'maxWidth', 'link', 'scale'], + picture: ['eleType', 'datatype', 'width', 'lenWidRadio', 'maxWidth', 'link'], video: ['eleType', 'datatype', 'width', 'aspectRatio', 'autoPlay', 'loop'], icon: ['eleType', 'icon', 'datatype', 'width'], slider: ['eleType', 'datatype', 'width', 'color', 'maxValue'], @@ -110,6 +110,8 @@ } else if (link === 'linkpage') { _options.push('linkmenu', 'joint', 'open') } + } else if (eleType === 'picture' && !link) { + _options.push('scale') } } else if (eleType === 'icon') { if (datatype === 'dynamic') { -- Gitblit v1.8.0