mirror of
https://github.com/certd/certd.git
synced 2026-04-24 04:17:25 +08:00
refactor: ui
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user