Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tools
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
庄欣
tools
Commits
5de73c1f
Commit
5de73c1f
authored
Jan 12, 2021
by
庄欣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
完成
parent
2fafa841
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
mp-remark/js/index.js
+5
-5
No files found.
mp-remark/js/index.js
View file @
5de73c1f
...
...
@@ -213,7 +213,7 @@ fetch(UI).then(function(res){
return
res
.
json
()
}).
then
(
final
=>
{
if
(
final
.
code
.
toString
()
===
"100002"
)
{
$this
.
err
=
"请
您先在网站登录,或者请确定您的操作权限
"
;
$this
.
err
=
"请
先登录,若登录账号没有操作权限,请向公司管理员申请
"
;
}
else
if
(
final
.
code
.
toString
()
===
"100001"
)
{
$this
.
err
=
""
;
}
...
...
@@ -297,7 +297,7 @@ fetch(UI).then(function(res){
$this
.
showToast
(
"操作成功"
);
}
else
{
if
(
res
.
code
.
toString
()
===
"100002"
)
{
$this
.
err
=
"请
您先在网站登录,或者请确定您的操作权限
"
;
$this
.
err
=
"请
先登录,若登录账号没有操作权限,请向公司管理员申请
"
;
}
else
{
$this
.
showToast
(
res
.
message
);
}
...
...
@@ -321,7 +321,7 @@ fetch(UI).then(function(res){
$this
.
showToast
(
"操作成功"
);
}
else
{
if
(
res
.
code
.
toString
()
===
"100002"
)
{
$this
.
err
=
"请
您先在网站登录,或者请确定您的操作权限
"
;
$this
.
err
=
"请
先登录,若登录账号没有操作权限,请向公司管理员申请
"
;
}
else
{
$this
.
showToast
(
res
.
message
);
}
...
...
@@ -339,7 +339,7 @@ fetch(UI).then(function(res){
$this
.
showToast
(
"操作成功"
);
}
else
{
if
(
res
.
code
.
toString
()
===
"100002"
)
{
$this
.
err
=
"请
您先在网站登录,或者请确定您的操作权限
"
;
$this
.
err
=
"请
先登录,若登录账号没有操作权限,请向公司管理员申请
"
;
}
else
{
$this
.
showToast
(
res
.
message
);
}
...
...
@@ -358,7 +358,7 @@ fetch(UI).then(function(res){
$this
.
showToast
(
"操作成功"
);
}
else
{
if
(
res
.
code
.
toString
()
===
"100002"
)
{
$this
.
err
=
"请
您先在网站登录,或者请确定您的操作权限
"
;
$this
.
err
=
"请
先登录,若登录账号没有操作权限,请向公司管理员申请
"
;
}
else
{
$this
.
showToast
(
res
.
message
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment