|
@@ -58,7 +58,7 @@ export default defineComponent({
|
|
|
|
|
|
const handleOk = () => {
|
|
const handleOk = () => {
|
|
if (user.name.length === 0 || user.name.length >= 30) {
|
|
if (user.name.length === 0 || user.name.length >= 30) {
|
|
- message.error({ content: "用户名长度必须在1到30之间" });
|
|
|
|
|
|
+ message.error({ content: "姓名长度必须在1到30之间" });
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
if (user.password.length !== 0 || user.confirmPassword.length !== 0) {
|
|
if (user.password.length !== 0 || user.confirmPassword.length !== 0) {
|