From b77440284ffdff3f7c66bdacfb3a805d9ceb8c8a Mon Sep 17 00:00:00 2001 From: ibuler Date: Wed, 19 Jul 2023 11:35:20 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E4=BC=98=E5=8C=96=20Platform=20?= =?UTF-8?q?=E4=B8=AD=E8=87=AA=E5=8A=A8=E5=8C=96=20select=20=E7=9A=84?= =?UTF-8?q?=E5=AE=BD=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../FormFields/JSONManyToManySelect/ValueFormatter.vue | 2 ++ src/utils/theme/index.js | 4 ++-- src/views/assets/Platform/PlatformCreateUpdate.vue | 3 +++ src/views/assets/Platform/PlatformList.vue | 2 +- 4 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/components/FormFields/JSONManyToManySelect/ValueFormatter.vue b/src/components/FormFields/JSONManyToManySelect/ValueFormatter.vue index 2634f59dc..4a0b5b7c9 100644 --- a/src/components/FormFields/JSONManyToManySelect/ValueFormatter.vue +++ b/src/components/FormFields/JSONManyToManySelect/ValueFormatter.vue @@ -48,6 +48,8 @@ export default { }, methods: { async getValue() { + console.log('ValueFormatter: ', this.row, this.col, this.cellValue) + this.loading = true this.attr = this.formatterArgs.attrs.find(attr => attr.name === this.row.name) this.match = this.row.match this.$log.debug('ValueFormatter: ', this.attr, this.row.name) diff --git a/src/utils/theme/index.js b/src/utils/theme/index.js index 2ec465de9..7bfcb90a2 100644 --- a/src/utils/theme/index.js +++ b/src/utils/theme/index.js @@ -60,8 +60,8 @@ export function changeThemeColors(themeColors) { return new Promise((resolve) => { if (!originalStyle) { axios.all([ - axios.get('/theme/element-ui.css'), - axios.get('/theme/element-extra.css') + axios.get('/ui/theme/element-ui.css'), + axios.get('/ui/theme/element-extra.css') ]).then( axios.spread((file, extraFile) => { const fileData = file.data diff --git a/src/views/assets/Platform/PlatformCreateUpdate.vue b/src/views/assets/Platform/PlatformCreateUpdate.vue index 2659c1ebc..22aab8f3e 100644 --- a/src/views/assets/Platform/PlatformCreateUpdate.vue +++ b/src/views/assets/Platform/PlatformCreateUpdate.vue @@ -180,6 +180,9 @@ export default { .el-form-item__content { width: 70%; } + .el-select { + width: 100%; + } } >>> .itemParamsKey.el-form-item { diff --git a/src/views/assets/Platform/PlatformList.vue b/src/views/assets/Platform/PlatformList.vue index 6b902a050..5727997db 100644 --- a/src/views/assets/Platform/PlatformList.vue +++ b/src/views/assets/Platform/PlatformList.vue @@ -158,6 +158,6 @@ export default { } -