mirror of
https://github.com/certd/certd.git
synced 2026-04-23 19:57:27 +08:00
refactor: 重构优化
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
export default {
|
||||
join (...dirs) {
|
||||
const url = new URL('../' + dirs.join('/'), import.meta.url)
|
||||
return url.href.replace(/^file:\/\/\//, '').replace(/^file:\/\//, '')
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user