摘要: <!--1. 列表显示 数组: v-for / index <h2>测试: v-for 遍历数组</h2><ul> <li v-for="(p, index) in persons" :key="index"> {{index}}--{{p.name}}--{{p.age}} </li></ul> 阅读全文
posted @ 2020-09-06 14:34 czxIT299 阅读(105) 评论(0) 推荐(0) 编辑
摘要: <!--1. 条件渲染指令 v-if v-else <p v-if="ok">表白成功</p><p v-else>表白失败</p> v-show <p v-show="ok">求婚成功</p><p v-show="!ok">求婚失败</p><button @click="ok=!ok">切换</bu 阅读全文
posted @ 2020-09-06 14:30 czxIT299 阅读(75) 评论(0) 推荐(0) 编辑
摘要: div id="demo"> 姓: <input type="text" placeholder="First Name" v-model="firstName"><br> 名: <input type="text" placeholder="Last Name" v-model="lastName 阅读全文
posted @ 2020-09-06 10:52 czxIT299 阅读(175) 评论(0) 推荐(0) 编辑
摘要: 1. 引入Vue.js <script type="text/javascript" src="../js/vue.js"></script><script type="text/javascript"> 2. 创建Vue对象 const vm = new Vue({ // 配置对象 options 阅读全文
posted @ 2020-09-06 10:42 czxIT299 阅读(141) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-09-01 18:04 czxIT299 阅读(75) 评论(0) 推荐(0) 编辑
摘要: 数组 数组长度和索引 阅读全文
posted @ 2020-09-01 13:56 czxIT299 阅读(359) 评论(0) 推荐(0) 编辑
摘要: 创建第一个ts文件 npm i -g ts-node 简化运行 运行 ts-node holle.ts 输出 阅读全文
posted @ 2020-09-01 11:59 czxIT299 阅读(119) 评论(0) 推荐(0) 编辑
摘要: 操作添加或者删除时没有登录则进行登录 在springMvc中进行配置 阅读全文
posted @ 2019-12-06 11:33 czxIT299 阅读(100) 评论(0) 推荐(0) 编辑
摘要: 第一使用 画图软件制作图片 ,文件名就是验证码 用户的实体类 import java.util.Date;public class Member { private int id; private String name; private String loginName; private Stri 阅读全文
posted @ 2019-12-05 11:29 czxIT299 阅读(255) 评论(0) 推荐(0) 编辑
摘要: Spring Mvc ==> Struts2 spring 无法替代 myBatis 工作量大 要自己操作sql语句 ==> hibernate Spring Mvc 取代Stuts2 开发快 运行效率高 mode 指整个界面层 1.在lib文件夹导入所要jar 2、配置web.xml <servl 阅读全文
posted @ 2019-12-04 14:13 czxIT299 阅读(138) 评论(0) 推荐(0) 编辑