Commit 67371d03 by 前端

剔除图片为空的情况

1 parent 2f4fa533
......@@ -199,7 +199,9 @@ export default {
if (k.pah == url) {
arr.unshift(k.path);
} else {
arr.push(k.path);
if(k.path){
arr.push(k.path);
}
}
});
if (arr.length > 20) {
......
......@@ -221,7 +221,9 @@ export default {
if (k.pah == url) {
arr.unshift(k.path);
} else {
arr.push(k.path);
if (k.path) {
arr.push(k.path);
}
}
});
if (arr.length > 20) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!