mirror of
https://github.com/jumpserver/lina.git
synced 2026-01-15 14:24:39 +00:00
perf: 优化 Platform 中自动化 select 的宽度
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -180,6 +180,9 @@ export default {
|
||||
.el-form-item__content {
|
||||
width: 70%;
|
||||
}
|
||||
.el-select {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
>>> .itemParamsKey.el-form-item {
|
||||
|
||||
@@ -158,6 +158,6 @@ export default {
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
<style lang="scss" scoped>
|
||||
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user