Commit 4e3a520d by zhangleyuan

feat:修改个人中心的字数限制

parent 9f54ea97
/*
* @Author: 吴文洁
* @Date: 2020-08-31 09:34:31
* @LastEditors: wufan
* @LastEditTime: 2020-12-09 10:53:57
* @LastEditors: zhangleyuan
* @LastEditTime: 2020-12-10 10:51:22
* @Description:
* @Copyright: 杭州杰竞科技有限公司 版权所有
*/
......@@ -83,7 +83,11 @@ class Axios {
if(error.message.indexOf("403")){
window.RCHistory.replace('/login');
}
// if(error.request.status===403 || error.request.status===401){
// window.RCHistory.replace('/login');
// }else{
// }
message.error(error.message)
return Promise.reject(error.message);
});
......
......@@ -2,7 +2,7 @@
* @Author: zhangleyuan
* @Date: 2020-11-27 15:06:31
* @LastEditors: zhangleyuan
* @LastEditTime: 2020-12-09 18:28:58
* @LastEditTime: 2020-12-10 10:46:23
* @Description: 描述一下
* @@Copyrigh: © 2020 杭州杰竞科技有限公司 版权所有
*/
......@@ -132,9 +132,9 @@ function PersonalInfoPage() {
<div className="name-item">
<span className="label">姓名:</span>
<Input
placeholder="请输入姓名"
placeholder="请输入姓名,最多15个字"
style={{ width:300,height:32}} value={nickName}
maxLength={10}
maxLength={15}
onChange={(e) => {
setNickName(e.target.value);
}}
......
......@@ -149,7 +149,7 @@ function CourseCatalogPage() {
setCatalogModalType('edit');
setCatalogModalVisible(true);
}else{
setParentCatalogId(record.parentId)
setParentCatalogId(record.parentId);
setSecondCatalogModalType('edit');
setSecondCatalogModalVisible(true);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment