mirror of
https://github.com/qaiu/netdisk-fast-download.git
synced 2026-01-13 09:54:12 +00:00
更新代码和文档
This commit is contained in:
@@ -94,6 +94,14 @@ export default {
|
||||
return;
|
||||
}
|
||||
|
||||
// 配置Monaco Editor使用国内CDN (npmmirror)
|
||||
// npmmirror的路径格式: https://registry.npmmirror.com/包名/版本号/files/文件路径
|
||||
loader.config({
|
||||
paths: {
|
||||
vs: 'https://registry.npmmirror.com/monaco-editor/0.55.1/files/min/vs'
|
||||
}
|
||||
});
|
||||
|
||||
// 初始化Monaco Editor
|
||||
monaco = await loader.init();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user