mirror of
https://github.com/jumpserver/lina.git
synced 2026-01-29 21:28:52 +00:00
perf: 优化 detail formatter
This commit is contained in:
@@ -25,8 +25,16 @@ export default {
|
||||
data() {
|
||||
const formatterArgs = Object.assign(this.formatterArgsDefault, this.col.formatterArgs)
|
||||
return {
|
||||
formatterArgs: formatterArgs,
|
||||
iTitle: formatterArgs.getTitle({ col: this.col, row: this.row, cellValue: this.cellValue })
|
||||
formatterArgs: formatterArgs
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
iTitle() {
|
||||
return this.formatterArgs.getTitle({
|
||||
col: this.col,
|
||||
row: this.row,
|
||||
cellValue: this.cellValue
|
||||
})
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
||||
@@ -95,7 +95,6 @@ export default {
|
||||
computed: {
|
||||
iVisible: {
|
||||
set(val) {
|
||||
console.log('set val: ', val)
|
||||
this.$emit('update:visible', val)
|
||||
},
|
||||
get() {
|
||||
|
||||
Reference in New Issue
Block a user