浏览代码

tomcat_res

night-cherry 1 月之前
父节点
当前提交
8f5a07843e
共有 2 个文件被更改,包括 4 次插入4 次删除
  1. 2 2
      index.html
  2. 2 2
      index.js

+ 2 - 2
index.html

@@ -53,8 +53,8 @@
 		<hr/>
 		<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}}</li> -->
+			<li>{{item.title}}&nbsp;{{item.author}}&nbsp;{{item.publisher}}&nbsp;{{item.pages}}</li>
 		</ul>
 		<hr/>
 		<!--<input type="button" text="中文" @click="changelang('zh')"/>

+ 2 - 2
index.js

@@ -65,8 +65,8 @@ const app=createApp({
       ],
       tomcat_res:"",
       books:[
-        {"title":"Linux从入门到精通","author":"night-cherry","publisher":"peking press","pages":123},
-        {"title":"MySQL必知必会","author":"李晓兵","publisher":"peking press","pages":456},
+        {title:"Linux从入门到精通",author:"night-cherry",publisher:"peking press",pages:123},
+        {title:"MySQL必知必会",author:"李晓兵",publisher:"peking press",pages:456},
       ],
     }
   },