Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
data-table
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Authored by
hookehuyr
2024-08-12 17:40:51 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
07bfed81c897e308d3e99ac85f976ac81377eeea
07bfed81
1 parent
ad1b653a
fix 后台报错显示优化
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
src/api/fn.js
src/api/fn.js
View file @
07bfed8
/*
* @Date: 2022-05-18 22:56:08
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-08-12 1
1:52:47
* @LastEditTime: 2024-08-12 1
7:35:51
* @FilePath: /data-table/src/api/fn.js
* @Description: 文件描述
*/
...
...
@@ -21,7 +21,7 @@ export const fn = (api) => {
return
res
.
data
||
true
;
}
else
{
// tslint:disable-next-line: no-console
if
(
!
res
.
data
.
show
)
return
false
;
if
(
res
.
data
.
show
===
false
)
return
false
;
showFailToast
({
message
:
res
.
data
.
msg
,
duration
:
5000
,
...
...
Please
register
or
login
to post a comment