mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
fix(cli): incorrect simulator path when have html ext (#5849)
This commit is contained in:
parent
3c3390c4fd
commit
b46f8c4e69
@ -23,7 +23,7 @@ export default {
|
|||||||
},
|
},
|
||||||
|
|
||||||
data() {
|
data() {
|
||||||
const path = location.pathname.replace('/index', '/');
|
const path = location.pathname.replace(/\/index(\.html)?/, '/');
|
||||||
|
|
||||||
return {
|
return {
|
||||||
packageVersion,
|
packageVersion,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user