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

@@ -103,6 +103,7 @@
</template>
<script>
import CKEditor from 'ckeditor4-vue'
import AttrForm from '../AttrForm'
import { pick } from 'lodash/object'
import i18n from '@/i18n'
@@ -205,6 +206,11 @@ export default {
return Math.ceil(this.configs.fields.length / COLUMN_PER_ROW)
}
},
created() {
/** load lang */
// CKEditor.load()
// console.log('lang', CKEditor.component.props.config.defaultLanguage = 'en' )
},
mounted() {
/** 计算 defaultPlaceholders */
const prefix = i18n.t('hints.input')