禁止关闭绑定电话
This commit is contained in:
parent
5306ba2753
commit
525d37c887
@ -22,9 +22,9 @@ import {
|
|||||||
Dropdown, MenuProps, message, Modal, Space, Spin, Input, Table, Form, Button
|
Dropdown, MenuProps, message, Modal, Space, Spin, Input, Table, Form, Button
|
||||||
// Form, Button, InputNumber
|
// Form, Button, InputNumber
|
||||||
} from "antd";
|
} from "antd";
|
||||||
import {
|
// import {
|
||||||
CloseOutlined
|
// CloseOutlined
|
||||||
} from '@ant-design/icons';
|
// } from '@ant-design/icons';
|
||||||
import title from '../../static/Phone/title.png'
|
import title from '../../static/Phone/title.png'
|
||||||
import titleB from '../../static/Phone/titleB.png'
|
import titleB from '../../static/Phone/titleB.png'
|
||||||
import line from '../../static/Phone/line.png'
|
import line from '../../static/Phone/line.png'
|
||||||
@ -1026,19 +1026,19 @@ export default function Head() {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
}, [globalContext.user]);
|
}, [globalContext.user]);
|
||||||
const getUserData = () => {
|
// const getUserData = () => {
|
||||||
reloadUser(messageApi, globalDispatchContext).then((data) => {
|
// reloadUser(messageApi, globalDispatchContext).then((data) => {
|
||||||
// console.log(data);
|
// // console.log(data);
|
||||||
|
|
||||||
//嘻嘻嘻
|
// //嘻嘻嘻
|
||||||
if (!data.hasUserInfo) {
|
// if (!data.hasUserInfo) {
|
||||||
setIsSelfModalOpen(true);
|
// setIsSelfModalOpen(true);
|
||||||
}
|
// }
|
||||||
// if (!data.hasUserInfo && !phoneModal) {
|
// // if (!data.hasUserInfo && !phoneModal) {
|
||||||
// setIsSelfModalOpen(true);
|
// // setIsSelfModalOpen(true);
|
||||||
// }
|
// // }
|
||||||
});
|
// });
|
||||||
}
|
// }
|
||||||
|
|
||||||
// 刷新用户信息
|
// 刷新用户信息
|
||||||
const reloadUserInterval = async () => {
|
const reloadUserInterval = async () => {
|
||||||
@ -2003,7 +2003,7 @@ export default function Head() {
|
|||||||
// background: 'pink'
|
// background: 'pink'
|
||||||
|
|
||||||
}}>
|
}}>
|
||||||
<div style={{ cursor: 'pointer' }} onClick={() => {
|
{/* <div style={{ cursor: 'pointer' }} onClick={() => {
|
||||||
setIsUpdateWxUsernamePhone(false);
|
setIsUpdateWxUsernamePhone(false);
|
||||||
dispath({
|
dispath({
|
||||||
type: 'changePhoneModal',
|
type: 'changePhoneModal',
|
||||||
@ -2012,7 +2012,7 @@ export default function Head() {
|
|||||||
getUserData()
|
getUserData()
|
||||||
}}>
|
}}>
|
||||||
<CloseOutlined />
|
<CloseOutlined />
|
||||||
</div>
|
</div> */}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div style={{
|
<div style={{
|
||||||
@ -2106,14 +2106,14 @@ export default function Head() {
|
|||||||
</Form>
|
</Form>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div className='closeTitle' onClick={() => {
|
{/* <div className='closeTitle' onClick={() => {
|
||||||
setIsUpdateWxUsernamePhone(false);
|
setIsUpdateWxUsernamePhone(false);
|
||||||
dispath({
|
dispath({
|
||||||
type: 'changePhoneModal',
|
type: 'changePhoneModal',
|
||||||
val: false
|
val: false
|
||||||
})
|
})
|
||||||
getUserData()
|
getUserData()
|
||||||
}}>跳过,下次再说</div>
|
}}>跳过,下次再说</div> */}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -22,8 +22,8 @@ export const WebSocketBaseUrl: string = `ws://${host}:7025/copyright`;
|
|||||||
|
|
||||||
axios.defaults.baseURL = `${copyBaseUrl}/copyright`;
|
axios.defaults.baseURL = `${copyBaseUrl}/copyright`;
|
||||||
|
|
||||||
// export const DevUserId: string = '80d3365e-0597-4988-979e-18ef1c3ec671'; // 18634604067
|
export const DevUserId: string = '80d3365e-0597-4988-979e-18ef1c3ec671'; // 18634604067
|
||||||
export const DevUserId: string = '2339d51f-f6cf-4f93-92dd-56c372dfbe36';
|
// export const DevUserId: string = '2339d51f-f6cf-4f93-92dd-56c372dfbe36';
|
||||||
// export const DevUserId: string = '6fb8e783-243c-4eec-8d98-c9b1c8aeaa00'; // 15042810561 密码123456
|
// export const DevUserId: string = '6fb8e783-243c-4eec-8d98-c9b1c8aeaa00'; // 15042810561 密码123456
|
||||||
// export const DevUserId: string = 'c2438eb8-2685-49a9-bf02-5111a5192d96'; // 18647109157
|
// export const DevUserId: string = 'c2438eb8-2685-49a9-bf02-5111a5192d96'; // 18647109157
|
||||||
// export const DevUserId: string = '';
|
// export const DevUserId: string = '';
|
||||||
|
Loading…
Reference in New Issue
Block a user