From 839f631d6ba36b1e2c5cbfcd7d414f62d3afd840 Mon Sep 17 00:00:00 2001
From: RuoYi <yzz_ivy@163.com>
Date: 星期三, 27 十月 2021 16:22:57 +0800
Subject: [PATCH] 添加Jaxb依赖,防止jdk8以上出现的兼容错误
---
ruoyi-ui/src/views/system/user/profile/userInfo.vue | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/ruoyi-ui/src/views/system/user/profile/userInfo.vue b/ruoyi-ui/src/views/system/user/profile/userInfo.vue
index 00e54ad..978cddf 100644
--- a/ruoyi-ui/src/views/system/user/profile/userInfo.vue
+++ b/ruoyi-ui/src/views/system/user/profile/userInfo.vue
@@ -1,7 +1,7 @@
<template>
<el-form ref="form" :model="user" :rules="rules" label-width="80px">
<el-form-item label="用户昵称" prop="nickName">
- <el-input v-model="user.nickName" />
+ <el-input v-model="user.nickName" maxlength="30" />
</el-form-item>
<el-form-item label="手机号码" prop="phonenumber">
<el-input v-model="user.phonenumber" maxlength="11" />
@@ -24,7 +24,6 @@
<script>
import { updateUserProfile } from "@/api/system/user";
-import Global from "@/layout/components/global.js";
export default {
props: {
@@ -63,13 +62,12 @@
this.$refs["form"].validate(valid => {
if (valid) {
updateUserProfile(this.user).then(response => {
- this.msgSuccess("修改成功");
+ this.$modal.msgSuccess("修改成功");
});
}
});
},
close() {
- Global.$emit("removeCache", "closeSelectedTag", this.$route);
this.$store.dispatch("tagsView/delView", this.$route);
this.$router.push({ path: "/index" });
}
--
Gitblit v1.9.2