摘要: 当关联查询非常复杂时,可以用嵌套的select,其原理是在映射复杂数据时执行另一个select来完成 <resultMap id="order_resultMap2" type="Order" autoMapping="true"> <id column="id" property="id"/> < 阅读全文
posted @ 2021-11-17 10:15 青竹之下 阅读(110) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Title</title></head><body><div id="app"> <h2>{{url}}</h2> <h2 v-html="url"></h2></ 阅读全文
posted @ 2021-11-17 10:09 青竹之下 阅读(29) 评论(0) 推荐(0) 编辑
摘要: <div id="app"> <h2>当前计数: {{counter}}</h2> <!--<button v-on:click="counter++">+</button>--> <!--<button v-on:click="counter--;">-</button>--> <button v 阅读全文
posted @ 2021-11-17 10:05 青竹之下 阅读(13) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> </head> <body> <div id="app"> <h2>{{message}}</h2> <h2>{{message}} 阅读全文
posted @ 2021-11-17 10:05 青竹之下 阅读(192) 评论(0) 推荐(0) 编辑
摘要: <div id="app"> <ul> <li v-for="item in movies">{{item}}</li> </ul> </div> <script src="../js/vue.js"></script> <script> const app = new Vue({ el: '#ap 阅读全文
posted @ 2021-11-17 10:04 青竹之下 阅读(75) 评论(0) 推荐(0) 编辑
摘要: vue基础语法 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> </head> <body> <div id="app"> <h2>{{message}}</h2> <h1>{{n 阅读全文
posted @ 2021-11-17 10:03 青竹之下 阅读(23) 评论(0) 推荐(0) 编辑
摘要: 克隆远程仓库 另一种方式是克隆远程目录,由于是将远程服务器上的仓库完全镜像一份至本地,而不是取某一个特定版本,所以用clone而不是checkout,语法格式如下: # 克隆一个项目和它的整个代码历史(版本信息) $ git clone [url] 执行: 比如我们要从克隆的远程仓库托管在githu 阅读全文
posted @ 2021-11-17 09:39 青竹之下 阅读(61) 评论(0) 推荐(0) 编辑