Explorar el Código

调整历史记录窗口大小。调整整个页面最小高度。

mxd hace 3 años
padre
commit
47553c0822

+ 1 - 1
magic-editor/src/console/src/assets/index.css

@@ -9,7 +9,7 @@
     width: 100%;
     height: 100%;
     min-width: 1200px;
-    min-height: 500px;
+    min-height: 600px;
     --color: #000;
     --empty-color: #505050;
     --empty-key-color: #5263A0;

+ 2 - 2
magic-editor/src/console/src/components/editor/magic-history.vue

@@ -1,7 +1,7 @@
 <template>
   <div class="ma-history">
     <ul class="not-select">
-      <li v-for="(item, key) in timestampes" :key="'history_' + key" :class="{ selected: currentItem == item }"
+      <li v-for="(item, key) in timestampes" :key="'history_' + key" :class="{ selected: currentItem === item }"
           @click.stop="open(item)">
         {{ item.dateTime }}
       </li>
@@ -96,7 +96,7 @@ export default {
   overflow: auto;
   position: relative;
   width: 100%;
-  height: 685px;
+  height: 485px;
   border-top: 1px solid var(--border-color);
 }
 

+ 1 - 1
magic-editor/src/console/src/components/editor/magic-script-editor.vue

@@ -37,7 +37,7 @@
     </div>
 
     <magic-dialog :title="'历史记录:' + (info && info.name)" :value="showHsitoryDialog"
-                  align="right" height="750px" maxWidth="inherit" padding="none" width="80%"
+                  align="right" height="550px" maxWidth="inherit" padding="none" width="1100px" :moveable="false"
                   @onClose="showHsitoryDialog = false">
       <template #content>
         <magic-history ref="history"/>