Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
rbc-demo
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
王衍超
rbc-demo
Commits
a4b3f92d
Commit
a4b3f92d
authored
Feb 11, 2022
by
fengjiansheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(@gms/gms-plugin-billexpand): 保存和暂存按钮报错信息
parent
ff20ea8a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
4 deletions
+22
-4
saveAction.js
develop/@gms/gms-plugin-billexpand/src/actions/saveAction.js
+9
-3
tempSave.js
develop/@gms/gms-plugin-billexpand/src/actions/tempSave.js
+7
-1
errorMessageUtil.js
...ms-plugin-billexpand/src/actions/util/errorMessageUtil.js
+6
-0
No files found.
develop/@gms/gms-plugin-billexpand/src/actions/saveAction.js
View file @
a4b3f92d
...
...
@@ -119,6 +119,13 @@ export default {
});
}
})
.
catch
((
error
)
=>
{});
.
catch
((
error
)
=>
{
console
.
log
(
error
)
bill
.
setControlsSate
(
param
[
"_control_name_"
],
"enable"
,
true
);
GMS
.
vbus
.
$Message
.
error
({
content
:
errorMessageUtil
.
saveAction
.
getCommonMessage
(),
duration
:
3
});
});
},
}
\ No newline at end of file
}
develop/@gms/gms-plugin-billexpand/src/actions/tempSave.js
View file @
a4b3f92d
...
...
@@ -107,7 +107,13 @@ export default {
duration
:
3
});
}
}).
catch
(()
=>
{
}).
catch
((
error
)
=>
{
console
.
log
(
error
)
bill
.
setControlsSate
(
param
[
"_control_name_"
],
"enable"
,
true
);
GMS
.
vbus
.
$Message
.
error
({
content
:
errorMessageUtil
.
tempSaveAction
.
getCommonMessage
(),
duration
:
3
});
});
},
}
develop/@gms/gms-plugin-billexpand/src/actions/util/errorMessageUtil.js
View file @
a4b3f92d
...
...
@@ -35,6 +35,9 @@ export default {
}
}
return
errorPreMessage
===
""
?
this
.
commonMessage
:
errorPreMessage
+
this
.
getErrorBaseDataName
(
a
);
},
getCommonMessage
(){
return
this
.
commonMessage
;
}
},
tempSaveAction
:
{
...
...
@@ -51,6 +54,9 @@ export default {
}
}
return
errorPreMessage
===
""
?
this
.
commonMessage
:
errorPreMessage
+
this
.
saveAction
.
getErrorBaseDataName
(
a
);
},
getCommonMessage
(){
return
this
.
commonMessage
;
}
},
submitAction
:
{
...
...
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