Commit 2ad0aa92 authored by rockyl's avatar rockyl

修改滚动列表列数的属性为行列数

parent eb39753c
......@@ -417,8 +417,8 @@ export default {
type: 'inputNumber',
value: 0,
},
itemCol: {
title: '列数',
cols: {
title: '列数',
type: 'inputNumber',
value: 1,
},
......
......@@ -39,6 +39,7 @@
:allow-drop="allowDrop"
:filter-node-method="filterNodeMethod"
@node-click="handleNodeClick"
@node-drop="onNodeDrop"
>
<div slot-scope="{ node, data }" class="tree-node">
<div class="node-name">
......@@ -209,6 +210,9 @@
return dropNode.parent.parent || type === 'inner';
}
},
onNodeDrop(){
this.makeProjectDirty();
},
/**
* 点击左侧视图列表
*/
......@@ -299,7 +303,7 @@
break;
}
},
...mapMutations(['copyNode', 'pasteNode', 'deleteNode', 'addNode']),
...mapMutations(['copyNode', 'pasteNode', 'deleteNode', 'addNode', 'makeProjectDirty']),
...mapActions(['exportView', 'importView', 'importPsd'])
}
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment