mirror of
https://github.com/youzan/vant.git
synced 2025-10-16 08:00:34 +00:00
fix(cli): incorrect simulator path when have html ext (#5849)
This commit is contained in:
@@ -23,7 +23,7 @@ export default {
|
||||
},
|
||||
|
||||
data() {
|
||||
const path = location.pathname.replace('/index', '/');
|
||||
const path = location.pathname.replace(/\/index(\.html)?/, '/');
|
||||
|
||||
return {
|
||||
packageVersion,
|
||||
|
Reference in New Issue
Block a user