feat: 添加导出html的i18n的数据

This commit is contained in:
zhangyu
2022-05-06 10:50:17 +08:00
parent fe8e9a1914
commit 1b444444f6
13 changed files with 75 additions and 35 deletions

View File

@@ -1,5 +1,4 @@
import bus from '@/libs/bus'
import { hasButton } from '@/permission'
import i18n from '@/components/common/i18n'
export default {
methods: {
@@ -34,9 +33,6 @@ export default {
timeFormate (time) {
return bus.timeFormate(time)
},
hasButton (code) {
return hasButton(this.$store.getters.buttonList, code)
},
numberWithEConvent (num) {
if (num) {
if ((('' + num).indexOf('E') !== -1) || (('' + num).indexOf('e') !== -1)) {