记得上下班打卡 | git大法好,push需谨慎

Commit f854f87f authored by zhouhuan's avatar zhouhuan

图片点击放大

parent b3717f44
...@@ -392,7 +392,7 @@ ...@@ -392,7 +392,7 @@
function click_big(url){ function click_big(url){
// console.log(url) // console.log(url)
var img_url = url var img_url = url
if(url.indexOf("x-oss-process") != -1){ if(url.indexOf("x-oss-process") != "-1"){
img_url = url.split("?")[0] img_url = url.split("?")[0]
} }
var json = { var json = {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment