Sfoglia il codice sorgente

add a select option and use it

night-cherry 1 mese fa
parent
commit
be062c637b
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      index.js

+ 2 - 2
index.js

@@ -40,7 +40,7 @@ const changelang = type => {
 **/
 //import router from "./router.vue";
 import router from "./router.js";
-
+import ElementPlus from 'element-plus'
 //console.log(createApp);
 //console.log(i18n);
 console.log(router);
@@ -104,7 +104,7 @@ changelang(type){
     window.locale=locale;
     console.log("-------after get locale--------");
   }
-}).use(i18n).use(router).mount("#app");
+}).use(ElementPlus).use(i18n).use(router).mount("#app");
 //Vue.createApp(app).mount("#app");
                                                      
 console.log("end the vue template render");