|
@@ -1,5 +1,5 @@
|
|
|
import { computed, ref } from 'vue'
|
|
|
-
|
|
|
+import { useCustomSpecialSource } from '@/utils/use'
|
|
|
/**
|
|
|
* 微信二维码相关
|
|
|
*/
|
|
@@ -10,7 +10,12 @@ const pageShareId = ref('')
|
|
|
const pageKopShareId = ref('')
|
|
|
|
|
|
const pageWechatQrcodeImgSrc = computed(() => {
|
|
|
- return ImgBase + pageShareId.value
|
|
|
+ const source = useCustomSpecialSource()
|
|
|
+ if (source && source !== 'undefined' && source !== 'null') {
|
|
|
+ return ImgBase + pageShareId.value + '?source=' + source
|
|
|
+ } else {
|
|
|
+ return ImgBase + pageShareId.value
|
|
|
+ }
|
|
|
})
|
|
|
|
|
|
const pageKopQrcodeImgSrc = computed(() => {
|