Kaynağa Gözat

文字限制

canghailong 6 ay önce
ebeveyn
işleme
03d124f588

+ 14 - 14
src/router/systemRouter.js

@@ -12,20 +12,20 @@ const routes = [
 		redirect: tool.data.get('MENU') ? routerUtil.getIndexMenu(tool.data.get('MENU')).path : config.DASHBOARD_URL,
 		children: []
 	},
-	{
-		path: '/login',
-		component: () => import('@/views/auth/login/login.vue'),
-		meta: {
-			title: '登录'
-		}
-	},
-	{
-		path: '/findpwd',
-		component: () => import('@/views/auth/findPwd/index.vue'),
-		meta: {
-			title: '找回密码'
-		}
-	},
+	// {
+	// 	path: '/login',
+	// 	component: () => import('@/views/auth/login/login.vue'),
+	// 	meta: {
+	// 		title: '登录'
+	// 	}
+	// },
+	// {
+	// 	path: '/findpwd',
+	// 	component: () => import('@/views/auth/findPwd/index.vue'),
+	// 	meta: {
+	// 		title: '找回密码'
+	// 	}
+	// },
 	{
 		path: '/callback',
 		component: () => import('@/views/auth/login/callback.vue'),

+ 1 - 1
src/views/forum/reportForm.vue

@@ -29,7 +29,7 @@
 				</a-col>
 				<a-col :span="24">
 					<a-form-item label="举报原因:" name="reportDetail">
-						<a-textarea v-model:value="formData.reportDetail" placeholder="请输入举报原因" :rows="4" />
+						<a-textarea v-model:value="formData.reportDetail" placeholder="请输入举报原因" :rows="4" show-count :maxlength="500" />
 					</a-form-item>
 				</a-col>
 			</a-row>

+ 1 - 0
src/views/resourceCenter/components/ResourceList.vue

@@ -15,6 +15,7 @@
 				placeholder="请输入资源关键词"
 				style="width: 200px"
 				@search="onSearch"
+				:maxlength="100"
 			/>
 		</div>
 		<a-spin :spinning="loading" tip="">

+ 2 - 2
src/views/resourceDetails/components/TallList.vue

@@ -23,7 +23,7 @@
 					</div>
 
 					<div style="width: 100%; height: 100%; display: flex; position: relative">
-						<a-textarea placeholder="" :rows="4" disabled style="margin-top: 5px" />
+						<a-textarea placeholder="" :rows="4" disabled style="margin-top: 5px" :maxlength="500"/>
 						<div
 							style="
 								flex-direction: column;
@@ -62,7 +62,7 @@
 					</div>
 
 					<div style="width: 100%; height: 100%; display: flex; position: relative">
-						<a-textarea placeholder="" :rows="4" v-model:value="talk" style="margin-top: 5px" />
+						<a-textarea placeholder="" :rows="4" v-model:value="talk" style="margin-top: 5px" :maxlength="500" />
 					</div>
 				</div>
 				<div style="display: flex; justify-content: flex-end; margin-top: 10px">

+ 3 - 0
src/views/slogin/login.vue

@@ -13,6 +13,7 @@
 							:placeholder="$t('login.accountPlaceholder')"
 							size="large"
 							@keyup.enter="login"
+							:maxlength="30"
 						>
 							<template #prefix>
 								<UserOutlined class="login-icon-gray" />
@@ -26,6 +27,7 @@
 							size="large"
 							autocomplete="off"
 							@keyup.enter="login"
+							:maxlength="30"
 						>
 							<template #prefix>
 								<LockOutlined class="login-icon-gray" />
@@ -40,6 +42,7 @@
 									:placeholder="$t('login.validLaceholder')"
 									size="large"
 									@keyup.enter="login"
+									:maxlength="4"
 								>
 									<template #prefix>
 										<verified-outlined class="login-icon-gray" />