Browse Source

set up some links

night-cherry 1 month ago
parent
commit
64f0443ca1
1 changed files with 3 additions and 3 deletions
  1. 3 3
      index.html

+ 3 - 3
index.html

@@ -164,9 +164,9 @@
 		<!--<input type="button" text="中文" @click="changelang('zh')"/>
 		<!--<input type="button" text="中文" @click="changelang('zh')"/>
 		<input type="button" text="english" @click="changelang('en')"/>-->
 		<input type="button" text="english" @click="changelang('en')"/>-->
 		<div>
 		<div>
-			<router-link to="/home"  @click="dialog.showModal()">$t('messages.pages.index')</router-link>
-			<router-link to="/test" @click="dialog.show()">$t('messages.pages.sample')</router-link>
-			<router-link to="/about" @click="dialog.showModal()">$t('messages.pages.about')</router-link>
+			<router-link to="/home"  @click="dialog.showModal()">{{$t('messages.pages.index')}}</router-link>
+			<router-link to="/test" @click="dialog.show()">{{$t('messages.pages.sample')}}</router-link>
+			<router-link to="/about" @click="dialog.showModal()">{{$t('messages.pages.about')}}</router-link>
 		</div>
 		</div>
 
 
 		<!-- <router-view></router-view> -->
 		<!-- <router-view></router-view> -->