摘要: 1.父组件把方法传递给了子组件 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> 阅读全文
posted @ 2020-08-14 21:44 li33的博客 阅读(923) 评论(0) 推荐(0) 编辑
摘要: 父组件把方法传递给了子组件 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <t 阅读全文
posted @ 2020-08-14 20:43 li33的博客 阅读(428) 评论(0) 推荐(0) 编辑
摘要: 子组件传值给父组件的理解 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <ti 阅读全文
posted @ 2020-08-14 17:15 li33的博客 阅读(448) 评论(0) 推荐(0) 编辑