Bläddra i källkod

[Feat 0000] 测试用例添一例,样式微调

houzekong 6 månader sedan
förälder
incheckning
4a54e89c10

+ 6 - 6
src/views/vent/home/configurable/components/content.vue

@@ -342,12 +342,12 @@
     margin-top: 5px;
     margin-top: 5px;
     margin-bottom: 5px;
     margin-bottom: 5px;
   }
   }
-  .content__module:first-of-type {
-    margin-top: 0;
-  }
-  .content__module:last-of-type {
-    margin-bottom: 0;
-  }
+  // .content__module:first-of-type {
+  //   margin-top: 0;
+  // }
+  // .content__module:last-of-type {
+  //   margin-bottom: 0;
+  // }
   ::v-deep .zxm-select:not(.zxm-select-customize-input) .zxm-select-selector {
   ::v-deep .zxm-select:not(.zxm-select-customize-input) .zxm-select-selector {
     /* background-color: transparent; */
     /* background-color: transparent; */
     color: #fff;
     color: #fff;

+ 2 - 1
src/views/vent/home/configurable/configurable.data.ts

@@ -536,6 +536,7 @@ export const testConfigA: Config[] = [
         },
         },
       ],
       ],
       preset: [],
       preset: [],
+      to: 'https://baidu.com',
     },
     },
     showStyle: {
     showStyle: {
       size: 'width:450px;height:280px;',
       size: 'width:450px;height:280px;',
@@ -581,7 +582,7 @@ export const testConfigA: Config[] = [
             // { label: '回2', align: 'right' },
             // { label: '回2', align: 'right' },
           ],
           ],
           series: [
           series: [
-            { label: '回1', value: '${hui1}' },
+            { label: '回1', prop: 'hui1' },
             // { label: '回2', value: '${hui2}' },
             // { label: '回2', value: '${hui2}' },
           ],
           ],
         },
         },