zhengkaixin 4 mesi fa
parent
commit
c7a4706390
2 ha cambiato i file con 3 aggiunte e 2 eliminazioni
  1. BIN
      assets/static/img/welcome_bg.png
  2. 3 2
      pages/login/welcome.vue

BIN
assets/static/img/welcome_bg.png


+ 3 - 2
pages/login/welcome.vue

@@ -161,8 +161,9 @@
 						//this.src=img
 						//this.src=img
 						//document.body.style="background:url("+img+") no-repeat;background-size: 100%;"
 						//document.body.style="background:url("+img+") no-repeat;background-size: 100%;"
 					}else{
 					}else{
-						//this.src="@/assets/static/img/welcome_bg.png"
-						this.$refs.imgw.src="@/assets/static/img/welcome_bg.png"
+						//this.src="@/assets/static/img/welcome_bg.png"
+						var img =require("@/assets/static/img/welcome_bg.png")
+						this.$refs.imgw.src=img
 					}
 					}
 				}catch(e){
 				}catch(e){
 					//TODO handle the exception
 					//TODO handle the exception