Browse Source

tomcat_res

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

+ 3 - 1
index.html

@@ -54,7 +54,9 @@
 		<h2>书籍列表</h2>
 		<ul  v-for="iterm in books">
 			<!-- <li>{{item}}</li> -->
-			<li>{{item.title}}&nbsp;{{item.author}}&nbsp;{{item.publisher}}&nbsp;{{item.pages}}</li>
+			<!-- <li>{{item.title}}&nbsp;{{item.author}}&nbsp;{{item.publisher}}&nbsp;{{item.pages}}</li> -->
+			
+			<li>{{item["title"]}}&nbsp;{{item["author"]}}&nbsp;{{item["publisher"]}}&nbsp;{{item["pages"]}}</li>
 		</ul>
 		<hr/>
 		<!--<input type="button" text="中文" @click="changelang('zh')"/>