Commit 2381d7ce authored by 文旺-丰林-DEV's avatar 文旺-丰林-DEV Committed by liuxiaohui

fix create password and upload_style

parent 60c385dc
...@@ -233,7 +233,7 @@ namespace BBM.ChatGLM.User ...@@ -233,7 +233,7 @@ namespace BBM.ChatGLM.User
} }
else else
{ {
var password = "Zs." + phoneNumber.Substring(phoneNumber.Length - 6); var password = "Zs" + phoneNumber.Substring(phoneNumber.Length - 6);
if (userRole == "管理员") if (userRole == "管理员")
{ {
userRole = "admin"; userRole = "admin";
......
...@@ -502,7 +502,7 @@ const UserManage = () => { ...@@ -502,7 +502,7 @@ const UserManage = () => {
disabled={uploadButtonDisable} disabled={uploadButtonDisable}
showUploadList={false} showUploadList={false}
> >
{uploadButtonDisable ? <Button color='white'><Loading /></Button> : <Button icon={<UploadOutlined /> }>Excel表格添加账号</Button>} {uploadButtonDisable ? <Button color='white'><Loading /></Button> : <div style={{color: 'red'}}><Button icon={<UploadOutlined />}>Excel表格添加账号</Button></div>}
</Upload>, </Upload>,
<Button <Button
key="button" key="button"
......
...@@ -22,7 +22,7 @@ request.interceptors.request.use((url, options) => { ...@@ -22,7 +22,7 @@ request.interceptors.request.use((url, options) => {
authHeader= { authHeader= {
Authorization: `Bearer ${token || ''}`, Authorization: `Bearer ${token || ''}`,
headers:{'Content-Type': 'multipart/form-data'}, headers:{'Content-Type': 'multipart/form-data'},
__tenant: '3a0ad79d-bf4e-e9ec-4315-b9021cfacd95', __tenant: '3a0a90fe-9a0d-70f4-200d-a80a41fb6195',
}; };
}else{ }else{
authHeader= { authHeader= {
......
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