Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
visualcloud
/
Vmatrix-client
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Wiki
Members
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
0a332225
authored
Nov 18, 2019
by
hank
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug
parent
eb1548f5
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
3 deletions
+30
-3
src/views/tempaltes/editMenu.vue
+9
-3
src/views/tempaltes/selectData.vue
+21
-0
No files found.
src/views/tempaltes/editMenu.vue
View file @
0a332225
...
...
@@ -74,7 +74,7 @@
@
click
.
native=
"uploadListItem(item.dataKey,index2, index3)"
:after-read=
"uploadAfter"
>
<van-button
icon=
"photo"
type=
"info"
>
上传
图片
</van-button>
<van-button
icon=
"photo"
type=
"info"
>
上传
</van-button>
</van-uploader>
</div>
</div>
...
...
@@ -91,8 +91,10 @@
@
click
.
native=
"uploadItem(item.dataKey)"
:after-read=
"uploadAfter"
>
<van-button
icon=
"photo"
type=
"info"
>
上传图片
</van-button>
<van-button
icon=
"photo"
type=
"info"
>
上传
</van-button>
<br>
</van-uploader>
<van-button
type=
"info"
v-if=
"!item.selectList"
@
click=
"setSelectData(item)"
>
选择默认数据
</van-button>
</div>
</van-collapse-item>
</van-collapse>
...
...
@@ -126,7 +128,8 @@ export default {
activeName
:
""
,
dataKey
:
""
,
listIndex
:
""
,
itemKey
:
""
itemKey
:
""
,
selectData
:{}
};
},
methods
:
{
...
...
@@ -205,6 +208,9 @@ export default {
deleteItem
(
index
,
arr
)
{
arr
.
splice
(
index
,
1
);
this
.
$emit
(
"setList"
,
this
.
schemaData
);
},
setSelectData
(
item
)
{
this
.
selectData
=
item
}
}
};
...
...
src/views/tempaltes/selectData.vue
0 → 100644
View file @
0a332225
<
template
>
<div>
adsdsa
</div>
</
template
>
<
script
>
export
default
{
data
()
{
return
{
}
},
props
:
[
'selectList'
],
}
</
script
>
<
style
lang=
"scc"
scoped
>
</
style
>
\ No newline at end of file
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