- handleSettingValueChanged('Abp.Localization.DefaultLanguage', value)"
+ >
+
+
+
import { Component, Vue } from 'vue-property-decorator'
+import { AbpConfigurationModule } from '@/store/modules/abp'
import SettingService, { Setting, SettingUpdate, SettingsUpdate } from '@/api/settings'
const booleanStrings = ['True', 'true', 'False', 'false']
@@ -213,6 +226,13 @@ export default class extends Vue {
private globalSetting: {[key: string]: Setting} = {}
private globalSettingChangeKeys = new Array()
+ get definedLanguages() {
+ const languages = AbpConfigurationModule.configuration.localization.languages.map((lang: any) => {
+ return lang.cultureName
+ })
+ return languages
+ }
+
get allowIdentitySetting() {
if (this.globalSetting['Abp.Identity.Password.RequiredLength']) {
return true
diff --git a/vueJs/src/views/login/index.vue b/vueJs/src/views/login/index.vue
index 58c764125..dc4347585 100644
--- a/vueJs/src/views/login/index.vue
+++ b/vueJs/src/views/login/index.vue
@@ -14,10 +14,12 @@
-
+
+
+
+
+
+ 注册
+
+
+
{
diff --git a/vueJs/src/views/register/index.vue b/vueJs/src/views/register/index.vue
new file mode 100644
index 000000000..c2ee91fb3
--- /dev/null
+++ b/vueJs/src/views/register/index.vue
@@ -0,0 +1,375 @@
+
+
+
+
+
+ {{ $t('login.title') }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ sendButtonName }}
+
+
+
+
+
+
+ 登录
+
+
+
+
+
+ {{ $t('login.logIn') }}
+
+
+
+
+
+
+
+
+