Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Z
zeroing-editor
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
劳工
zeroing-editor
Commits
2ad0aa92
Commit
2ad0aa92
authored
Feb 29, 2020
by
rockyl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改滚动列表列数的属性为行列数
parent
eb39753c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
properties.js
src/utils/properties.js
+2
-2
Views.vue
src/views/Editor/Views.vue
+5
-1
No files found.
src/utils/properties.js
View file @
2ad0aa92
...
...
@@ -417,8 +417,8 @@ export default {
type
:
'inputNumber'
,
value
:
0
,
},
itemCol
:
{
title
:
'列数'
,
cols
:
{
title
:
'
行
列数'
,
type
:
'inputNumber'
,
value
:
1
,
},
...
...
src/views/Editor/Views.vue
View file @
2ad0aa92
...
...
@@ -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'
])
}
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment