فهرست منبع

二维码修正

wgl 4 سال پیش
والد
کامیت
cfd7da798f
2فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 1 1
      src/projects/business/views/Master/Promote/Code.vue
  2. 1 1
      src/projects/pension/views/Master/Promote/Code.vue

+ 1 - 1
src/projects/business/views/Master/Promote/Code.vue

@@ -57,7 +57,7 @@
 		},
 		created() {
 			var host = window.location.href.split("#")[0];
-			host = host.replace('/business', '');
+			host = host.replace('business', 'home');
 			this.qrCodeUrl = host + '#/?promote_id=' + this.person_data.id
 		},
 		methods: {

+ 1 - 1
src/projects/pension/views/Master/Promote/Code.vue

@@ -57,7 +57,7 @@
 		},
 		created() {
 			var host = window.location.href.split("#")[0];
-			host = host.replace('/pension', '');
+			host = host.replace('pension', 'home');
 			this.qrCodeUrl = host + '#/?promote_id=' + this.person_data.id
 		},
 		methods: {