Commit 05c71723 authored by 姬鋆屾's avatar 姬鋆屾

推修改首页图片加载不出报错的问题

parent c25d0cea
...@@ -339,11 +339,11 @@ export default { ...@@ -339,11 +339,11 @@ export default {
res.data res.data
? (this.imgUrl = res.data) ? (this.imgUrl = res.data)
: (this.imgUrl = require("@/assets/images/login_bg.jpg")); : (this.imgUrl = require("@/assets/images/login_bg.jpg"));
// res.data } else {
// ? (this.imgUrl = require("@/assets/images/login_bg.jpg")) this.imgUrl = require("@/assets/images/login_bg.jpg");
// : (this.imgUrl = res.data);
} }
}); });
getSlogan("title").then((res) => { getSlogan("title").then((res) => {
if (res.code == 1) { if (res.code == 1) {
this.sloganTitle = res.data; this.sloganTitle = res.data;
......
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