Browse Source

style changed

night-cherry 1 month ago
parent
commit
5a3a96104a
4 changed files with 6 additions and 3 deletions
  1. 1 1
      dist/bundle.js
  2. 2 0
      dist/index.html
  3. 2 1
      index.html
  4. 1 1
      index.js

File diff suppressed because it is too large
+ 1 - 1
dist/bundle.js


+ 2 - 0
dist/index.html

@@ -26,6 +26,7 @@
 					:key="item.value"
 					:label="item.label"
 					:value="item.value"
+					@click="changelang(item.value)"
 				/>
 			</el-select>
 		</div>
@@ -38,6 +39,7 @@
 		<p>after i18n label</p>
 		<label @click="changelang('zh')">中文</label>
 		<label @click="changelang('en')">english</label>
+		<button @click="interface()">english</button>
 		<!--<input type="button" text="中文" @click="changelang('zh')"/>
 		<input type="button" text="english" @click="changelang('en')"/>-->
 		<p>

+ 2 - 1
index.html

@@ -39,7 +39,8 @@
 		<p>after i18n label</p>
 		<label @click="changelang('zh')">中文</label>
 		<label @click="changelang('en')">english</label>
-		<button @click="interface()">english</button>
+		<hr/>
+		<button @click="interface_web()">connect to tomcat</button>
 		<!--<input type="button" text="中文" @click="changelang('zh')"/>
 		<input type="button" text="english" @click="changelang('en')"/>-->
 		<p>

+ 1 - 1
index.js

@@ -84,7 +84,7 @@ const app=createApp({
     console.log("-----------changelang-----------------");
     locale.value=type;
   },
-  interface(){
+  interface_web(){
     const request = new XMLHttpRequest();
     request.onload=function(){
       const res=JSON.parse(request.responseText);

Some files were not shown because too many files changed in this diff