diff --git a/frontend/src/layout/components/AppMain.vue b/frontend/src/layout/components/AppMain.vue
index 68235f7d8f..eaf39b016c 100644
--- a/frontend/src/layout/components/AppMain.vue
+++ b/frontend/src/layout/components/AppMain.vue
@@ -23,6 +23,7 @@ export default {
@import "~@/styles/variables.scss";
.app-main {
+ height: 100%;
/* topbar 56 */
// min-height: calc(100vh - 56px);
// width: 100%;
diff --git a/frontend/src/views/panel/template/index.vue b/frontend/src/views/panel/template/index.vue
index 01ec18bf26..5c88d5c3cf 100644
--- a/frontend/src/views/panel/template/index.vue
+++ b/frontend/src/views/panel/template/index.vue
@@ -84,7 +84,8 @@ export default {
currentTemplateType: 'system',
templateEditFormRules: {
name: [
- { required: true, message: this.$t('commons.input_content'), trigger: 'change' }
+ { required: true, message: this.$t('commons.input_content'), trigger: 'change' },
+ { max: 50, message: this.$t('commons.char_can_not_more_50'), trigger: 'change' }
]
},
templateEditForm: {},
diff --git a/frontend/src/views/system/user/form.vue b/frontend/src/views/system/user/form.vue
index 2fddc7d438..113cb40964 100644
--- a/frontend/src/views/system/user/form.vue
+++ b/frontend/src/views/system/user/form.vue
@@ -20,19 +20,19 @@
-
+
{{ $t('commons.man') }}
{{ $t('commons.woman') }}
-
+
{{ $t('commons.enable') }}
{{ $t('commons.disable') }}
-
+