Skip to content

Commit e04edf9

Browse files
authored
Merge pull request #295 from lljj-x/v3
chore(demo): 修复playground editor 报错
2 parents a8064d5 + 19514df commit e04edf9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/demo/demo-v3/src/pages/index/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@
2929
getWorkerUrl: function(workerId, label) {
3030
const code = encodeURIComponent(`
3131
self.MonacoEnvironment = {
32-
baseUrl: 'https://lf3-cdn-tos.bytecdntp.com/cdn/expire-1-M/monaco-editor/0.20.0/min/'
32+
baseUrl: 'https://lf3-cdn-tos.bytecdntp.com/cdn/expire-1-M/monaco-editor/0.30.0/min/'
3333
};
34-
importScripts('https://lf3-cdn-tos.bytecdntp.com/cdn/expire-1-M/monaco-editor/0.20.0/min/vs/base/worker/workerMain.js');
34+
importScripts('https://lf3-cdn-tos.bytecdntp.com/cdn/expire-1-M/monaco-editor/0.30.0/min/vs/base/worker/workerMain.js');
3535
`);
3636

3737
return 'data:text/javascript;charset=utf-8,' + code;

0 commit comments

Comments
 (0)