refactor: ui

This commit is contained in:
xiaojunnuo
2021-02-04 21:24:07 +08:00
parent cca33478e4
commit 86ddb72227
17 changed files with 673 additions and 1815 deletions
+2 -1
View File
@@ -1,6 +1,7 @@
export default {
join (...dirs) {
const url = new URL('../' + dirs.join('/'), import.meta.url)
return url.href.replace(/^file:\/\/\//, '').replace(/^file:\/\//, '')
console.log('url', url)
return url.pathname
}
}