@@ -16,18 +16,11 @@ function errorCreate (msg) {
// 反馈消息弹框提示
function noticeMsg (dataAxios, type) {
- let msg
- if (dataAxios.msg) {
- msg = dataAxios.msg
- }
- if (dataAxios.message) {
- msg = dataAxios.message
- if (!msg) {
+ if (!dataAxios.msg) {
return
}
Message({
- message: msg,
+ message: dataAxios.msg,
type: type,
duration: 3 * 1000
})