|
|
@@ -20,6 +20,8 @@
|
|
|
<script>
|
|
|
import vueQrcode from '@chenfengyuan/vue-qrcode';
|
|
|
import html2canvas from 'html2canvas';
|
|
|
+import resolveUrl from 'resolve-url';
|
|
|
+import { mapState } from 'vuex';
|
|
|
export default {
|
|
|
components: { vueQrcode },
|
|
|
data() {
|
|
|
@@ -29,8 +31,9 @@ export default {
|
|
|
};
|
|
|
},
|
|
|
computed: {
|
|
|
+ ...mapState(['userInfo']),
|
|
|
url() {
|
|
|
- return '233444';
|
|
|
+ return resolveUrl(this.$baseUrl, '9th/register?invitor=' + this.userInfo.id + '&inviteType=AUCTION');
|
|
|
}
|
|
|
},
|
|
|
methods: {
|