update 菜单国际化

This commit is contained in:
2022-09-05 10:17:29 +08:00
parent e020c1e174
commit 2d557c8196
6 changed files with 133 additions and 19 deletions

View File

@@ -36,6 +36,7 @@ import TableTextComponent from '@/components/base-table/components/detailCompone
import CKEditor from 'ckeditor4-vue'
import { calcMaxHeight } from '@/utils'
import { timeFilter } from '@/utils/filters'
import Cookies from 'js-cookie'
const tableConfigs = [
{
@@ -170,10 +171,11 @@ const addOrUpdateConfigs = {
fieldType: 'string',
component: CKEditor.component,
props: {
value: 'tests',
// value: 'tests',
config: {
// ckeditor 的配置: https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html
// toolbar: [['Bold']]
language: Cookies.get('language') || 'en'
}
}
},