forked from x/volcanos
opt some
This commit is contained in:
parent
54b4f39a4d
commit
1e0dbde61b
@ -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":
|
||||||
|
Loading…
x
Reference in New Issue
Block a user