night-cherry 1 месяц назад
Родитель
Сommit
37f55be19c
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      index.js

+ 2 - 1
index.js

@@ -79,7 +79,8 @@ const app=createApp({
       console.log("-----------change lang-----------------");
       console.log("this.locale : "+this.locale);
       console.log("locale"+locale);
-      locale.value=type;
+      this.locale=locale;
+      this.locale.value=type;
     },
     interface_web(){
       console.log("---------tomcat server----------");