Commit 13540fb1 by 前端

增加图片翻页

1 parent d3f76d79
......@@ -66,6 +66,12 @@ export default {
type: Number,
default: 0,
},
list:{
type: Array,
default: function () {
return [];
},
}
},
data() {
return {
......@@ -209,7 +215,7 @@ export default {
// 获取图片预览列表
getPreViewList(url) {
let _this = this;
let list = this.imgList || [];
let list = this.list || [];
let arr = [];
list.map((k) => {
if (k.pah == url) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!