221a15c7 by fanguang

ue走查

1 parent 5388797f
...@@ -1186,3 +1186,12 @@ ...@@ -1186,3 +1186,12 @@
1186 max-width: 100%; 1186 max-width: 100%;
1187 } 1187 }
1188 } 1188 }
1189
1190 .el-drawer__title {
1191 font-size: 18px;
1192 color: #212121;
1193 }
1194 .el-form-item--default .el-form-item__label {
1195 height: 26px;
1196 line-height: 26px;
1197 }
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -189,13 +189,13 @@ function formatNodeLabel (node) { ...@@ -189,13 +189,13 @@ function formatNodeLabel (node) {
189 let sliceLength = 8 189 let sliceLength = 8
190 switch (node.level) { 190 switch (node.level) {
191 case 2: 191 case 2:
192 sliceLength = 10 192 sliceLength = 9
193 break 193 break
194 case 3: 194 case 3:
195 sliceLength = 8 195 sliceLength = 6
196 break 196 break
197 case 4: 197 case 4:
198 sliceLength = 8 198 sliceLength = 6
199 break 199 break
200 } 200 }
201 return node.label.slice(0, sliceLength) 201 return node.label.slice(0, sliceLength)
......
...@@ -319,6 +319,10 @@ function addTableItem (index) { ...@@ -319,6 +319,10 @@ function addTableItem (index) {
319 const tableObj = { ...tableFormTpl } 319 const tableObj = { ...tableFormTpl }
320 // form.value.fieldRQVOS.splice(index + 1, 0, tableObj) 320 // form.value.fieldRQVOS.splice(index + 1, 0, tableObj)
321 form.value.fieldRQVOS.push(tableObj) 321 form.value.fieldRQVOS.push(tableObj)
322 nextTick(() => {
323 let scrollBody = document.querySelector('.el-drawer__body')
324 scrollBody.scrollTop = scrollBody.scrollHeight
325 })
322 } 326 }
323 function deleteTableItem (index) { 327 function deleteTableItem (index) {
324 form.value.fieldRQVOS.splice(index, 1) 328 form.value.fieldRQVOS.splice(index, 1)
......
...@@ -52,7 +52,7 @@ const treeInfo = ref({ ...@@ -52,7 +52,7 @@ const treeInfo = ref({
52 loading: false, 52 loading: false,
53 currentObj: {}, 53 currentObj: {},
54 editTreeItem: true, 54 editTreeItem: true,
55 className: 'tree-list', 55 // className: 'tree-list',
56 ellipsis: false 56 ellipsis: false
57 }) 57 })
58 function nodeClick (data) { 58 function nodeClick (data) {
...@@ -646,7 +646,7 @@ const viewGraph = () => { ...@@ -646,7 +646,7 @@ const viewGraph = () => {
646 } 646 }
647 .tags-list-right { 647 .tags-list-right {
648 position: absolute; 648 position: absolute;
649 right: 0; 649 right: 2px;
650 top:8px; 650 top:8px;
651 } 651 }
652 } 652 }
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!