@@ -395,9 +395,16 @@ export default {
}).then(() => {
that.$api.letter.getSignSrc({
userId: userInfo.id
- }).then(res => {
- if(res.data.url) {
- window.open(res.data.url)
+ }).then(subres => {
+ if(subres.code == '200') {
+ if(subres.data.url) {
+ window.open(subres.data.url)
+ }
+ } else {
+ that.$message({
+ type: 'error',
+ message: subres.msg,
+ });
}
})