mirror of
https://github.com/fireinrain/JHS-enhance.git
synced 2026-10-13 04:56:36 +08:00
修复115固有jq导致加载冲突
This commit is contained in:
@@ -99,23 +99,8 @@ export default defineConfig({
|
||||
'tabulator-tables': 'Tabulator',
|
||||
'viewerjs': 'Viewer',
|
||||
'qrcodejs': 'QRCode',
|
||||
'layui-layer': 'layer',
|
||||
},
|
||||
},
|
||||
}),
|
||||
{
|
||||
name: 'layui-layer-dev-shim',
|
||||
apply: 'serve',
|
||||
resolveId(id) {
|
||||
if (id === 'layui-layer') {
|
||||
return '\0layui-layer-shim';
|
||||
}
|
||||
},
|
||||
load(id) {
|
||||
if (id === '\0layui-layer-shim') {
|
||||
return 'export default window.layer;';
|
||||
}
|
||||
},
|
||||
},
|
||||
],
|
||||
});
|
||||
Reference in New Issue
Block a user