上一页 1 ··· 34 35 36 37 38 39 40 41 42 ··· 48 下一页
摘要: 【对象语法】 <!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Title</title></head><body><!--对象语法--><div id="app"><!-- <h2 :style="{key(属性 阅读全文
posted @ 2021-08-08 10:13 iTao0128 阅读(82) 评论(0) 推荐(0)
摘要: 【对象语法】 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> <style> .active{ color: red; } </style> </head> <body> <div 阅读全文
posted @ 2021-08-07 18:02 iTao0128 阅读(44) 评论(0) 推荐(0)
摘要: 动态绑定属性 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> </head> <body> <div id="app"> <img v-bind:src="imgURL"> <a 阅读全文
posted @ 2021-08-07 09:44 iTao0128 阅读(90) 评论(0) 推荐(0)
摘要: 【v-once】 该指令表示元素和组件只渲染一次,不会随着数据的改变而改变。 <div id="app"> <h2 v-once>{{message}}</h2> </div> <script src="../js/vue.js"></script> <script> const app = new 阅读全文
posted @ 2021-08-01 21:05 iTao0128 阅读(144) 评论(0) 推荐(0)
摘要: 【mustache语法】 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> </head> <body> <div id="app"> <h2>{{message}}</h2> <h 阅读全文
posted @ 2021-08-01 19:44 iTao0128 阅读(60) 评论(0) 推荐(0)
摘要: 【第一个vue程序】 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> </head> <body> <div id="app">{{message}}</div> <script 阅读全文
posted @ 2021-07-28 22:17 iTao0128 阅读(66) 评论(0) 推荐(0)
摘要: https://www.jb51.net/softs/751925.html#downintro2 激活码 http://lookdiv.com/ 钥匙 lookdiv.com 阅读全文
posted @ 2021-07-27 21:50 iTao0128 阅读(2106) 评论(0) 推荐(0)
摘要: springboot对各种日志框架都支持,默认帮我们支持了slf4j.jar和logback的实现。如果不需要更改为其他日志系统如Log4j2等,则无需多余配置,LogBack默认将日志打印到控制台上。 如果使用LogBack,原则上是需要添加dependency依赖的 <dependency> < 阅读全文
posted @ 2021-07-25 12:36 iTao0128 阅读(57) 评论(0) 推荐(0)
摘要: Mapper.java public interface StorageMapper extends BaseMapper<Storage> { List<Integer> getStorageIdByChannelId(List<Integer> channelIds); } mapper.xml 阅读全文
posted @ 2021-07-22 22:24 iTao0128 阅读(577) 评论(0) 推荐(0)
摘要: 1. 将data恢复到初始状态 Object.assign(this.$data, this.$options.data()) // 初始化data 2. 重新渲染组件 方法一:v-if(可以重置生命周期) 虽然能实现重新渲染,但不推荐首选 方法二:给组件加key值【推荐】 通过修改key的值,就会 阅读全文
posted @ 2021-07-22 22:19 iTao0128 阅读(1309) 评论(1) 推荐(1)
上一页 1 ··· 34 35 36 37 38 39 40 41 42 ··· 48 下一页