Commit 2f3e02ef by 李伟康

commit 修复BUG

1 parent c0840c9b
......@@ -88,7 +88,7 @@ export default {
}
}
.canvas-box {
padding-top: 8rpx;
padding-top: 4rpx;
.left {
animation: show-view-left 0.3s;
}
......
......@@ -134,7 +134,7 @@ export default {
/**切换素材 */
choose (e) {
if (this.id == 1) this.$refs.media1[0].closeAllPopup()
this.id = e.id;
this.$emit('update:id',e.id)
if (e.id == 2 || e.id == 4) {
console.log(this.$refs[`media${e.id}`][0].$refs)
this.$refs[`media${e.id}`][0].$refs.tabs.init()
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!