diff --git a/snowy-admin-web/src/components/Table/index.vue b/snowy-admin-web/src/components/Table/index.vue index be525b2a..67750e81 100644 --- a/snowy-admin-web/src/components/Table/index.vue +++ b/snowy-admin-web/src/components/Table/index.vue @@ -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