Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
C
cs-manage-system
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
吴万海
cs-manage-system
提交
54a0c005
提交
54a0c005
编写于
11月 24, 2023
作者:
wanhai_wu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
build
上级
bed63178
变更
9
展开全部
显示空白字符变更
内嵌
并排
正在显示
9 个修改的文件
包含
12 行增加
和
9 行删除
+12
-9
config.ts
config/config.ts
+3
-1
index.html
dist/index.html
+1
-1
p__Menu__index.9baf2a26.async.js
dist/p__Menu__index.9baf2a26.async.js
+1
-0
p__Menu__index.d0b549c4.async.js
dist/p__Menu__index.d0b549c4.async.js
+0
-1
p__User__Login__index.4e384745.async.js
dist/p__User__Login__index.4e384745.async.js
+0
-1
p__User__Login__index.5458ac46.async.js
dist/p__User__Login__index.5458ac46.async.js
+1
-0
umi.f0ee633d.js
dist/umi.f0ee633d.js
+2
-2
index.tsx
src/pages/Menu/index.tsx
+2
-2
FsQr.tsx
src/pages/User/Login/FsQr.tsx
+2
-1
未找到文件。
config/config.ts
浏览文件 @
54a0c005
...
@@ -7,7 +7,9 @@ import routes from './routes';
...
@@ -7,7 +7,9 @@ import routes from './routes';
const
{
REACT_APP_ENV
=
'dev'
}
=
process
.
env
;
const
{
REACT_APP_ENV
=
'dev'
}
=
process
.
env
;
export
default
defineConfig
({
export
default
defineConfig
(
{
history
:
{
type
:
'hash'
},
/**
/**
* @name 开启 hash 模式
* @name 开启 hash 模式
* @description 让 build 之后的产物包含 hash 后缀。通常用于增量发布和避免浏览器加载缓存。
* @description 让 build 之后的产物包含 hash 后缀。通常用于增量发布和避免浏览器加载缓存。
...
...
dist/index.html
浏览文件 @
54a0c005
...
@@ -8,6 +8,6 @@
...
@@ -8,6 +8,6 @@
</head>
</head>
<body>
<body>
<div
id=
"root"
></div>
<div
id=
"root"
></div>
<script
src=
"/umi.
c054fc9f
.js"
></script>
<script
src=
"/umi.
f0ee633d
.js"
></script>
</body></html>
</body></html>
\ No newline at end of file
dist/p__Menu__index.9baf2a26.async.js
0 → 100644
浏览文件 @
54a0c005
此差异已折叠。
点击以展开。
dist/p__Menu__index.d0b549c4.async.js
已删除
100644 → 0
浏览文件 @
bed63178
此差异已折叠。
点击以展开。
dist/p__User__Login__index.4e384745.async.js
已删除
100644 → 0
浏览文件 @
bed63178
此差异已折叠。
点击以展开。
dist/p__User__Login__index.5458ac46.async.js
0 → 100644
浏览文件 @
54a0c005
此差异已折叠。
点击以展开。
dist/umi.
c054fc9f
.js
→
dist/umi.
f0ee633d
.js
浏览文件 @
54a0c005
此差异已折叠。
点击以展开。
src/pages/Menu/index.tsx
浏览文件 @
54a0c005
...
@@ -69,8 +69,8 @@ const Auth = () => {
...
@@ -69,8 +69,8 @@ const Auth = () => {
const
fie
=
form
.
validateFields
()
const
fie
=
form
.
validateFields
()
fie
.
then
(()
=>
{
fie
.
then
(()
=>
{
(
async
()
=>
{
(
async
()
=>
{
let
msg
=
await
(
status
===
0
?
addMenu
({
menu
:{...
form
.
getFieldsValue
()}})
:
status
===
1
?
saveMenu
({
role
:{...
form
.
getFieldsValue
()}}):
null
)
let
msg
=
await
(
status
===
0
?
addMenu
({
menu
:{...
form
.
getFieldsValue
()}})
:
status
===
1
?
saveMenu
({
menu
:{...
form
.
getFieldsValue
()}}):
null
)
if
(
isEmptyObject
(
msg
))
{
if
(
isEmptyObject
(
msg
)
||
(
msg
!==
null
||
msg
!==
''
)
)
{
success
()
success
()
setIsModalOpen
(
false
);
setIsModalOpen
(
false
);
search
()
search
()
...
...
src/pages/User/Login/FsQr.tsx
浏览文件 @
54a0c005
...
@@ -82,10 +82,11 @@ const FsQr = () => {
...
@@ -82,10 +82,11 @@ const FsQr = () => {
const
port
=
window
.
location
.
port
;
const
port
=
window
.
location
.
port
;
console
.
log
(
domain
);
console
.
log
(
domain
);
console
.
log
(
port
);
console
.
log
(
port
);
const
src
=
domain
+
':'
+
port
const
src
=
domain
redirectUri
.
current
=
`
${
window
?.
location
?.
origin
}
/user/
login
`;//重定向地址,需在管理后台进行配置
redirectUri
.
current
=
`
${
window
?.
location
?.
origin
}
/user/
login
`;//重定向地址,需在管理后台进行配置
goto.current = `
https
:
//passport.feishu.cn/suite/passport/oauth/authorize?client_id=cli_a3631f654971500d&redirect_uri=http://${src}/user/login&response_type=code&state=state123456`
goto.current = `
https
:
//passport.feishu.cn/suite/passport/oauth/authorize?client_id=cli_a3631f654971500d&redirect_uri=http://${src}/user/login&response_type=code&state=state123456`
console
.
log
(
goto
.
current
,
'++++++++++++++++++++++++'
)
let
script
=
document
.
querySelector
(
'#script'
);
let
script
=
document
.
querySelector
(
'#script'
);
if
(
script
)
{
if
(
script
)
{
return
;
return
;
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录