mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
fix(cli): incorrect iframe path
This commit is contained in:
parent
4b3a17b029
commit
e760c692e8
@ -16,7 +16,8 @@ export default {
|
||||
},
|
||||
|
||||
data() {
|
||||
const publicPath = (config.site && config.site.publicPath) || '/';
|
||||
const { site } = config.build || {};
|
||||
const publicPath = (site && site.publicPath) || '/';
|
||||
return {
|
||||
config: config.site,
|
||||
simulator: `${publicPath}mobile.html${location.hash}`
|
||||
|
Loading…
x
Reference in New Issue
Block a user