mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-20 18:18:56 +00:00
chore: cloudcmd
This commit is contained in:
parent
6e778a35ba
commit
4b84d20bb0
17 changed files with 121 additions and 132 deletions
|
|
@ -14,7 +14,7 @@ export const createCloudMenu = async (fm, options, menuData) => {
|
|||
|
||||
async function loadMenu() {
|
||||
if (CloudCmd.config('menu') === 'aleman') {
|
||||
const {host, protocol} = window.location;
|
||||
const {host, protocol} = globalThis.location;
|
||||
const url = `${protocol}//${host}/node_modules/aleman/menu/menu.js`;
|
||||
const {createMenu} = await import(/* webpackIgnore: true */url);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue