修复切换组件时,数据的设置数据不更新的问题
This commit is contained in:
@@ -85,7 +85,7 @@
|
||||
@dragstop="(x, y) => onDrag(x, y,item)"
|
||||
@resizestop="(x, y, w, h) => onResizing(x, y, w, h, item)"
|
||||
@activated="onActivated(index)"
|
||||
@click.native.stop="activeIndex = index"
|
||||
@click.native.stop
|
||||
v-for="(item, index) in componentList"
|
||||
:key="index">
|
||||
<div class="coordinate" v-show="activeIndex === index">
|
||||
@@ -237,7 +237,7 @@ import {mapActions} from "vuex"
|
||||
import Vue from "vue";
|
||||
|
||||
export default {
|
||||
name: "designDashboard",
|
||||
name: "viewport",
|
||||
provide() {
|
||||
return {
|
||||
setCurLayer: this.setCurLayer
|
||||
|
||||
Reference in New Issue
Block a user