Commit c66caf3e authored by Facius's avatar Facius

Merge branch 'dev' of https://git.banshouhui.com/lijundan/self-support into dev

parents b225c178 01b4e2f2
...@@ -352,7 +352,7 @@ ...@@ -352,7 +352,7 @@
this.initData(res) this.initData(res)
} else { } else {
this.$refs.uToast.show({ this.$refs.uToast.show({
title: res.message, title: res.message || res.data,
type: 'error', type: 'error',
}) })
} }
...@@ -434,7 +434,7 @@ ...@@ -434,7 +434,7 @@
}) })
} else { } else {
this.$refs.uToast.show({ this.$refs.uToast.show({
title: res.message, title: res.message || res.data,
type: 'error', type: 'error',
}) })
} }
...@@ -546,7 +546,7 @@ ...@@ -546,7 +546,7 @@
return Promise.resolve(true) return Promise.resolve(true)
} else { } else {
this.$refs.uToast.show({ this.$refs.uToast.show({
title: res.message, title: res.message || res.data,
type: 'error', type: 'error',
}) })
return Promise.resolve(false) return Promise.resolve(false)
...@@ -578,6 +578,11 @@ ...@@ -578,6 +578,11 @@
}) })
} }
}) })
} else {
this.$refs.uToast.show({
title: res.data,
type: 'error',
})
} }
}) })
}else{ }else{
...@@ -592,12 +597,17 @@ ...@@ -592,12 +597,17 @@
}) })
} }
}) })
} else {
this.$refs.uToast.show({
title: res.data,
type: 'error',
})
} }
}) })
} }
} else { } else {
this.$refs.uToast.show({ this.$refs.uToast.show({
title: res.message, title: res.data,
type: 'error', type: 'error',
}) })
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment