如何点击按钮增加组件 #7336
Unanswered
mmqu
asked this question in
Help/Questions
如何点击按钮增加组件
#7336
Replies: 1 comment 6 replies
-
原理是利用动态组件实现,你需要构建一个组件数组,点击按钮的时候将数据添加到这个循环的组件数组中,当然这个只是个简易的demo,还有数据填充这些你可以自己拓展一下。 |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
我想通过点击按钮增加 vue 的这个语句
'<b-col lg="12"><iq-card><ChartKLint></ChartKLint></iq-card></b-col>'
请问怎么实现?
不止是显示一次,点击一次添加一次这个语句。这个语句是显示一个图表。另外,请问能不能加一次自动平铺一次这个图表
Beta Was this translation helpful? Give feedback.
All reactions