前言
转载自:https://www.jianshu.com/p/3f51c9c752b1
第二种方法好理解一点,后续再了解第一种
实例
- 第二种实例
组件内props定义参数
key: { type: Number }
调用组件传递随机数
:key="Math.random().toString(36)"
前言
转载自:https://www.jianshu.com/p/3f51c9c752b1
第二种方法好理解一点,后续再了解第一种
实例
组件内props定义参数
key: { type: Number }
调用组件传递随机数
:key="Math.random().toString(36)"