瀏覽代碼

feat:修改外链的配置

liu.shiyi 1 年之前
父節點
當前提交
1b63516e34

+ 2 - 3
data-room-ui/packages/BasicComponents/LinkChart/setting.vue

@@ -34,13 +34,12 @@
       <SettingTitle>基础</SettingTitle>
       <div class="bs-setting-wrap">
         <el-form-item
-          label="链接地址"
+          label="URL"
           label-width="100px"
-          prop="title"
         >
           <el-input
             v-model="config.customize.url"
-            placeholder="请输入链接地址"
+            placeholder="请输入URL地址"
             clearable
           />
         </el-form-item>

+ 8 - 8
data-room-ui/packages/js/utils/getComponentConfig.js

@@ -79,8 +79,8 @@ export default function getComponentConfig (type) {
         icon: Icon.getNameList()[2],
         className:
           'com.gccloud.dataroom.core.module.chart.components.ScreenScrollBoardChart',
-        w: 500,
-        h: 300,
+        w: 600,
+        h: 400,
         x: 0,
         y: 0,
         type
@@ -92,8 +92,8 @@ export default function getComponentConfig (type) {
         icon: Icon.getNameList()[3],
         className:
           'com.gccloud.dataroom.core.module.chart.components.ScreenScrollRankingChart',
-        w: 550,
-        h: 350,
+        w: 600,
+        h: 400,
         x: 0,
         y: 0,
         type
@@ -144,8 +144,8 @@ export default function getComponentConfig (type) {
         icon: Icon.getNameList()[8],
         className:
           'com.gccloud.dataroom.core.module.chart.components.ScreenIframeChart',
-        w: 500,
-        h: 500,
+        w: 600,
+        h: 400,
         x: 0,
         y: 0,
         type
@@ -171,8 +171,8 @@ export default function getComponentConfig (type) {
         icon: Icon.getNameList()[12],
         className:
           'com.gccloud.dataroom.core.module.chart.components.ScreenVideoChart',
-        w: 800,
-        h: 500,
+        w: 600,
+        h: 400,
         x: 0,
         y: 0,
         type