mirror of
https://github.com/zclzone/vue-naive-admin.git
synced 2025-12-29 04:20:22 +08:00
style: lint
This commit is contained in:
@@ -13,10 +13,11 @@ export function pluginPagePathes() {
|
||||
return {
|
||||
name: 'isme:page-pathes',
|
||||
resolveId(id) {
|
||||
if (id === PLUGIN_PAGE_PATHES_ID) return '\0' + PLUGIN_PAGE_PATHES_ID
|
||||
if (id === PLUGIN_PAGE_PATHES_ID)
|
||||
return `\0${PLUGIN_PAGE_PATHES_ID}`
|
||||
},
|
||||
load(id) {
|
||||
if (id === '\0' + PLUGIN_PAGE_PATHES_ID) {
|
||||
if (id === `\0${PLUGIN_PAGE_PATHES_ID}`) {
|
||||
return `export default ${JSON.stringify(getPagePathes())}`
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user