imatrix-ui 2.9.42-dw → 2.9.43-dw
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/utils/request.js +4 -1
package/package.json
CHANGED
package/src/utils/request.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import axios from 'axios'
|
|
2
2
|
import {
|
|
3
3
|
Message
|
|
4
|
-
} from '
|
|
4
|
+
} from 'element-ui'
|
|
5
5
|
import {
|
|
6
6
|
getToken,
|
|
7
7
|
removeToken
|
|
@@ -161,6 +161,9 @@ service.interceptors.response.use(
|
|
|
161
161
|
duration: 5 * 1000
|
|
162
162
|
})
|
|
163
163
|
} else {
|
|
164
|
+
if (htmlMsg) {
|
|
165
|
+
message = htmlMsg
|
|
166
|
+
}
|
|
164
167
|
Message({
|
|
165
168
|
showClose: true,
|
|
166
169
|
message: message,
|