update 菜单国际化
This commit is contained in:
@@ -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'
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user