Pārlūkot izejas kodu

调整左侧样式

YaolongHan 4 gadi atpakaļ
vecāks
revīzija
00297562b3
2 mainītis faili ar 4 papildinājumiem un 4 dzēšanām
  1. 2 2
      src/components/edit/left_toolbar.vue
  2. 2 2
      vue.config.js

+ 2 - 2
src/components/edit/left_toolbar.vue

@@ -96,7 +96,7 @@
                 />
               </div>
               <div class="list" v-for="(item,index) in itemList" :key="index">
-                <div class="title">{{item.Name}}</div>
+                <div class="title" v-show="item.GraphElements.length">{{item.Name}}</div>
                 <ul class="example">
                   <li
                     @click="getexampleItem(items,indexs,index)"
@@ -641,7 +641,7 @@ export default {
           display: flex;
           flex-wrap: wrap;
           li {
-            width: 82px;
+            width: 80px;
             height: 60px;
             display: flex;
             justify-content: center;

+ 2 - 2
vue.config.js

@@ -25,8 +25,8 @@ module.exports = {
                 },
             },
             '/data': {
-                target: 'http://192.168.200.87:9003',
-                // target: 'http://60.205.177.43:9903', //阿里云
+                // target: 'http://192.168.200.87:9003',
+                target: 'http://60.205.177.43:9903', //阿里云
                 changeOrigin: true,
                 secure: false,
                 pathRewrite: {