Commit fbcbba75 by zhangleyuan

feat:处理创建学院上限的提示

parent 3a48689b
/* /*
* @Author: 吴文洁 * @Author: 吴文洁
* @Date: 2020-08-31 09:34:31 * @Date: 2020-08-31 09:34:31
* @LastEditors: yuananting * @LastEditors: Please set LastEditors
* @LastEditTime: 2021-07-12 17:40:26 * @LastEditTime: 2021-08-17 15:29:37
* @Description: * @Description:
* @Copyright: 杭州杰竞科技有限公司 版权所有 * @Copyright: 杭州杰竞科技有限公司 版权所有
*/ */
...@@ -102,6 +102,12 @@ class Axios { ...@@ -102,6 +102,12 @@ class Axios {
content: "直播进行中,无法删除直播", content: "直播进行中,无法删除直播",
okText: "我知道了" okText: "我知道了"
}) })
}else if(resultCode === 'NO_CREATE_STORE'){
Modal.warning({
title:"提示",
content: "企业总学院数达到上限,无法继续创建。",
okText: "我知道了"
})
} else if (success || resultCode === 0) { } else if (success || resultCode === 0) {
return response; return response;
} else if (!options.reject) { } else if (!options.reject) {
......
...@@ -261,7 +261,6 @@ export default class CollegeManagePage extends React.Component { ...@@ -261,7 +261,6 @@ export default class CollegeManagePage extends React.Component {
{ {
initWechat && <WWOpenDataCom type="userName" openid={name} /> initWechat && <WWOpenDataCom type="userName" openid={name} />
} }
</span> </span>
<span <span
className="logout" className="logout"
......
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