Showing
2 changed files
with
10 additions
and
2 deletions
| ... | @@ -1828,4 +1828,10 @@ body { | ... | @@ -1828,4 +1828,10 @@ body { |
| 1828 | background-color: white; | 1828 | background-color: white; |
| 1829 | color: #009688 !important; | 1829 | color: #009688 !important; |
| 1830 | } | 1830 | } |
| 1831 | + | ||
| 1832 | +.el-button.el-button--primary { | ||
| 1833 | + background-color: #009688!important; | ||
| 1834 | + border-color: #009688!important; | ||
| 1835 | + color: white!important; | ||
| 1836 | +} | ||
| 1831 | </style> | 1837 | </style> | ... | ... |
| 1 | /* | 1 | /* |
| 2 | * @Date: 2023-10-27 11:12:24 | 2 | * @Date: 2023-10-27 11:12:24 |
| 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com | 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com |
| 4 | - * @LastEditTime: 2023-12-04 10:19:45 | 4 | + * @LastEditTime: 2023-12-04 10:24:48 |
| 5 | * @FilePath: /vue-flow-editor/doc/axios.js | 5 | * @FilePath: /vue-flow-editor/doc/axios.js |
| 6 | * @Description: 文件描述 | 6 | * @Description: 文件描述 |
| 7 | */ | 7 | */ |
| ... | @@ -79,7 +79,9 @@ axios.interceptors.response.use( | ... | @@ -79,7 +79,9 @@ axios.interceptors.response.use( |
| 79 | }, | 79 | }, |
| 80 | error => { | 80 | error => { |
| 81 | if (axios.isCancel(error)) { // 取消请求的情况下,终端Promise调用链 | 81 | if (axios.isCancel(error)) { // 取消请求的情况下,终端Promise调用链 |
| 82 | - return new Promise(() => {}); | 82 | + return new Promise(() => { |
| 83 | + console.error('取消请求响应', error); | ||
| 84 | + }); | ||
| 83 | } else { | 85 | } else { |
| 84 | return Promise.reject(error); | 86 | return Promise.reject(error); |
| 85 | } | 87 | } | ... | ... |
-
Please register or login to post a comment