Commit c9c18d87 authored by Your Name's avatar Your Name

提示语

parent 543c98a6
...@@ -55,7 +55,7 @@ export default { ...@@ -55,7 +55,7 @@ export default {
vm.$qs.stringify(param) vm.$qs.stringify(param)
) )
.then((res) => { .then((res) => {
if (res.data.resultCode === "200") { if (res.data.resultCode === "200" && (res.data.user.type === '2' || res.data.user.type === '4')) {
let data = res.data; let data = res.data;
if(data.isDefault){ if(data.isDefault){
this.$notify({ this.$notify({
...@@ -80,7 +80,7 @@ export default { ...@@ -80,7 +80,7 @@ export default {
} }
} else { } else {
this.$toast.fail(res.data.message); this.$toast.fail("您登录的账号既不是运维账号也不是单位用户账号,不能使用H5的功能");
} }
}) })
.catch(function (err) { .catch(function (err) {
......
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