|
@@ -124,6 +124,7 @@
|
|
|
import QRCode from 'qrcodejs2'
|
|
|
import copy from 'copy-to-clipboard'
|
|
|
import { getStudentOriginal, getSubjectGoodsAndInfo, subjectChangeAdd, subjectChangeCancel, getChangeInfo } from '@/api/buildTeam'
|
|
|
+import { vaildStudentUrl } from '@/utils/validate'
|
|
|
import accessories from './accessories'
|
|
|
|
|
|
const formatAllGoods = (data, kitGroupPurchaseType) => {
|
|
@@ -247,7 +248,7 @@ export default {
|
|
|
computed: {
|
|
|
copyLink() {
|
|
|
if (this.detail.subjectChange) {
|
|
|
- return location.origin + '/#/change-voice?id=' + this.detail.subjectChange.id
|
|
|
+ return vaildStudentUrl() + '/#/change-voice?id=' + this.detail.subjectChange.id
|
|
|
}
|
|
|
return ''
|
|
|
},
|