Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
soss
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hooloo
web
soss
Commits
b115130c
Commit
b115130c
authored
Aug 23, 2022
by
lixiaomin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改机型组件页面
parent
36f44db5
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletions
+4
-1
src/utils/request.js
+1
-1
src/views/machine/model/modelCom.vue
+3
-0
No files found.
src/utils/request.js
View file @
b115130c
...
@@ -99,7 +99,7 @@ service.interceptors.response.use(res => {
...
@@ -99,7 +99,7 @@ service.interceptors.response.use(res => {
type
:
'error'
type
:
'error'
})
})
return
Promise
.
reject
(
new
Error
(
msg
))
return
Promise
.
reject
(
new
Error
(
msg
))
}
else
if
(
code
!==
200
&&
code
!=
21001
)
{
}
else
if
(
code
!==
200
&&
code
!=
21001
&&
code
!=
21004
)
{
Notification
.
error
({
Notification
.
error
({
title
:
msg
title
:
msg
})
})
...
...
src/views/machine/model/modelCom.vue
View file @
b115130c
...
@@ -294,6 +294,9 @@ export default {
...
@@ -294,6 +294,9 @@ export default {
}
else
if
(
response
.
code
==
21001
){
}
else
if
(
response
.
code
==
21001
){
this
.
$message
.
error
(
'该机型已有机器绑定,请重新填写!'
);
this
.
$message
.
error
(
'该机型已有机器绑定,请重新填写!'
);
row
.
isShow
=
true
;
row
.
isShow
=
true
;
}
else
if
(
response
.
code
==
21004
){
this
.
$message
.
error
(
'该组件重复添加,请重新填写!'
);
row
.
isShow
=
true
;
}
}
})
})
},
},
...
...
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