mirror of
https://gitee.com/xiaonuobase/snowy.git
synced 2026-03-22 10:47:16 +08:00
【更新】前端stable-代码格式调整
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
import './index.less'
|
||||
import i18n from '@/locales'
|
||||
|
||||
const {t} = i18n.global
|
||||
const { t } = i18n.global
|
||||
|
||||
export default {
|
||||
name: 'STable',
|
||||
@@ -158,9 +158,9 @@
|
||||
false
|
||||
this.needTotalList = this.initTotalList(this.columns)
|
||||
this.loadData()
|
||||
this.columnsSetting = this.columns.map(c => {
|
||||
this.columnsSetting = this.columns.map((c) => {
|
||||
const tt = c.title
|
||||
if (typeof tt === "string") {
|
||||
if (typeof tt === 'string') {
|
||||
c.title = () => t(tt)
|
||||
}
|
||||
return c
|
||||
|
||||
Reference in New Issue
Block a user