Selaa lähdekoodia

:rotating_light:

Vanessa 4 vuotta sitten
vanhempi
sitoutus
092e017d6b
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      demo/index.js

+ 2 - 2
demo/index.js

@@ -52,7 +52,7 @@ const initVditor = (language) => {
   window.vditor = new Vditor('vditor', {
     // _lutePath: `http://192.168.0.107:9090/lute.min.js?${new Date().getTime()}`,
     _lutePath: 'src/js/lute/lute.min.js',
-    cdn: "http://localhost:9000",
+    cdn: 'http://localhost:9000',
     toolbar,
     lang: language,
     mode: 'wysiwyg',
@@ -134,7 +134,7 @@ const initVditor = (language) => {
     },
   })
 }
-initVditor("zh_CN");
+initVditor('zh_CN')
 window.setLang = (language) => {
   window.vditor.destroy()
   initVditor(language)