![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
vue
MyDreamingCode
Life is not a bed of roses.
展开
-
关于Vue路由
一、基础 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"&.原创 2022-05-23 21:00:50 · 96 阅读 · 0 评论 -
父组件对子组件的内容进行加工处理
1. 子组件中放入插槽slot,绑定属性; 2. 在父组件里的子组件中写template,并用slot-scope获取子组件传来的数据,之后可以进行一些逻辑上的处理。 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> .原创 2022-05-19 12:44:01 · 128 阅读 · 0 评论