优化打包

This commit is contained in:
Andy Leong
2024-01-09 17:53:47 +08:00
parent ad07452795
commit bbef428f80
2 changed files with 6 additions and 4 deletions

View File

@@ -2,7 +2,7 @@ import wx from 'weixin-js-sdk';
import axios from "axios";
import { Toast } from "vant";
const imgUrl = new URL(`../assets/images/share.jpg`, import.meta.url).href
const imgUrl = new URL(`@/assets/images/share.jpg`, import.meta.url).href
const linkUrl = import.meta.env.VITE_HOST + import.meta.env.VITE_FOLDER
export function wxShare(option) {