mirror of
https://github.com/ialley-workshop-open/uni-halo.git
synced 2025-05-19 01:50:15 +09:00
fix: 修复分享混入代码错误问题
This commit is contained in:
parent
b42932ddad
commit
e0569e287f
@ -1,14 +1,14 @@
|
||||
// 微信分享配置
|
||||
import HaloTokenConfig from '@/config/token.config.js'
|
||||
import {jsonToUrlParams2} from '@/utils/url.params.js'
|
||||
import {checkImageUrl} from '@/utils/index.js'
|
||||
import utils from '@/utils/index.js'
|
||||
|
||||
export const haloWxShareMixin = {
|
||||
computed: {
|
||||
haloWxShareData() {
|
||||
const configs = this.$tm.vx.getters().getConfigs?.shareConfig;
|
||||
if(!configs) return {};
|
||||
configs.imageUrl = checkImageUrl(configs.imageUrl)
|
||||
configs.imageUrl = utils.checkImageUrl(configs.imageUrl)
|
||||
return configs
|
||||
}
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user