鏡像自
https://github.com/ialley-workshop-open/uni-halo.git
已同步 2026-06-12 13:19:31 +08:00
fix: 修复分享混入代码错误问题
此提交包含在:
@@ -1,14 +1,14 @@
|
|||||||
// 微信分享配置
|
// 微信分享配置
|
||||||
import HaloTokenConfig from '@/config/token.config.js'
|
import HaloTokenConfig from '@/config/token.config.js'
|
||||||
import {jsonToUrlParams2} from '@/utils/url.params.js'
|
import {jsonToUrlParams2} from '@/utils/url.params.js'
|
||||||
import {checkImageUrl} from '@/utils/index.js'
|
import utils from '@/utils/index.js'
|
||||||
|
|
||||||
export const haloWxShareMixin = {
|
export const haloWxShareMixin = {
|
||||||
computed: {
|
computed: {
|
||||||
haloWxShareData() {
|
haloWxShareData() {
|
||||||
const configs = this.$tm.vx.getters().getConfigs?.shareConfig;
|
const configs = this.$tm.vx.getters().getConfigs?.shareConfig;
|
||||||
if(!configs) return {};
|
if(!configs) return {};
|
||||||
configs.imageUrl = checkImageUrl(configs.imageUrl)
|
configs.imageUrl = utils.checkImageUrl(configs.imageUrl)
|
||||||
return configs
|
return configs
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
新增問題並參考
封鎖使用者