摘要: https://v3.cn.vuejs.org/guide/transitions-overview.html <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> <!-- v3.0 --> <script src 阅读全文
posted @ 2021-12-18 16:38 漫漫长路</> 阅读(176) 评论(0) 推荐(0)
摘要: https://v3.cn.vuejs.org/guide/component-custom-events.html 可以通过 emits 选项在组件上定义发出的事件。 <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></tit 阅读全文
posted @ 2021-12-18 15:33 漫漫长路</> 阅读(750) 评论(0) 推荐(0)
摘要: 1. 变异方法(修改原有数据) push() pop() shift() unshift() splice() sort() reverse() 2. 替换数组(生成新的数组) filter() concat() slice() <!DOCTYPE html> <html> <head> <meta 阅读全文
posted @ 2021-12-18 02:20 漫漫长路</> 阅读(664) 评论(0) 推荐(0)
摘要: 1. 过滤器的作用是什么? 格式化数据,比如将字符串格式化为首字母大写,将日期格式化为指定的格式等。 2. 定义过滤器 3. 过滤器的使用 4. 局部过滤器 阅读全文
posted @ 2021-12-18 00:33 漫漫长路</> 阅读(47) 评论(0) 推荐(0)