1
0
forked from x/volcanos
This commit is contained in:
shylinux 2020-03-18 10:13:45 +08:00
parent 54b4f39a4d
commit 1e0dbde61b

View File

@ -13,6 +13,7 @@ Volcanos("onimport", {help: "导入数据", list: [],
var items = item.path.split("."); var items = item.path.split(".");
switch (items[items.length-1]) { switch (items[items.length-1]) {
case "png": case "png":
case "jpg":
case "JPG": case "JPG":
return {className: "preview", img: "/share/local/web.wiki.feel/"+item.path, width: width, oncontextmenu: menu} return {className: "preview", img: "/share/local/web.wiki.feel/"+item.path, width: width, oncontextmenu: menu}
case "MOV": case "MOV":