mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-05 19:41:42 +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() {
|
||||
const path = location.pathname.replace('/index', '/');
|
||||
const path = location.pathname.replace(/\/index(\.html)?/, '/');
|
||||
|
||||
return {
|
||||
packageVersion,
|
||||
|
Loading…
x
Reference in New Issue
Block a user