Browse Source
Merge pull request #280 from colinin/4.3
Prepare the VBEN ADMIN UI
pull/287/head
cKey
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with
471 additions and
460 deletions
-
aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/BackendAdminHostModule.cs
-
vueJs/src/views/admin/data-dictionary/index.vue
|
|
|
@ -296,11 +296,22 @@ namespace LINGYUN.Abp.BackendAdmin |
|
|
|
"vue-admin-element-ui", |
|
|
|
new NameValue("zh-Hans", "zh"), |
|
|
|
new NameValue("en", "en")); |
|
|
|
|
|
|
|
// vben admin 语言映射
|
|
|
|
options |
|
|
|
.AddLanguagesMapOrUpdate( |
|
|
|
"vben-admin-ui", |
|
|
|
new NameValue("zh_CN", "zh-Hans")); |
|
|
|
|
|
|
|
options |
|
|
|
.AddLanguageFilesMapOrUpdate( |
|
|
|
"vue-admin-element-ui", |
|
|
|
new NameValue("zh-Hans", "zh"), |
|
|
|
new NameValue("en", "en")); |
|
|
|
options |
|
|
|
.AddLanguageFilesMapOrUpdate( |
|
|
|
"vben-admin-ui", |
|
|
|
new NameValue("zh_CN", "zh-Hans")); |
|
|
|
|
|
|
|
options.Resources.AddDynamic(); |
|
|
|
}); |
|
|
|
|
|
|
|
@ -37,9 +37,9 @@ import DataDictionaryTree from './components/DataDictionaryTree.vue' |
|
|
|
} |
|
|
|
}) |
|
|
|
export default class extends Vue { |
|
|
|
private selectDataId = '' |
|
|
|
private selectDataId: string | null = null |
|
|
|
|
|
|
|
private onDataChecked(dataId: string) { |
|
|
|
private onDataChecked(dataId: string | null) { |
|
|
|
this.selectDataId = dataId |
|
|
|
} |
|
|
|
} |
|
|
|
|