|
@@ -52,13 +52,20 @@
|
|
|
<h4>tomcat_res -></h4><h4> {{ tomcat_res==""?"content empty":tomcat_res }}</h4>
|
|
|
<hr/>
|
|
|
<h2>书籍列表</h2>
|
|
|
- <ul>
|
|
|
- <!-- <li v-for="(iterm,key,value) in books">{{value}}-{{key}}-{{item}}</li> -->
|
|
|
- <!-- <li>{{item}}</li> -->
|
|
|
- <li v-for="(value,key,iterm) in books">{{value.title}} {{value.author}} {{value.publisher}} {{value.pages}}</li>
|
|
|
+ <table>
|
|
|
+ <th>index</th><th>title</th><th>author</th><th>publisher</th><th>pages</th><th>operation</th>
|
|
|
+ <tr v-for="(value,key,index) in books">
|
|
|
+ <td>{{value.title}}</td><td>{{value.author}}</td><td>{{value.publisher}}</td><td>{{value.pages}}</td>
|
|
|
+ </tr>
|
|
|
|
|
|
- <!-- <li>{{item["title"]}} {{item["author"]}} {{item["publisher"]}} {{item["pages"]}}</li> -->
|
|
|
- </ul>
|
|
|
+ </table>
|
|
|
+ <!-- <ul v-for="(value,key,index) in books">
|
|
|
+ <li v-for="(iterm,key,value) in books">{{value}}-{{key}}-{{item}}</li>
|
|
|
+ <li>{{item}}</li>
|
|
|
+ <li>{{value.title}}</li><li>{{value.author}}</li><li>{{value.publisher}}</li><li>{{value.pages}}</li>
|
|
|
+
|
|
|
+ <li>{{item["title"]}} {{item["author"]}} {{item["publisher"]}} {{item["pages"]}}</li>
|
|
|
+ </ul> -->
|
|
|
<hr/>
|
|
|
<!--<input type="button" text="中文" @click="changelang('zh')"/>
|
|
|
<input type="button" text="english" @click="changelang('en')"/>-->
|