huai-sian 3 年之前
父節點
當前提交
f12982119a
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      test_eng.html

+ 1 - 1
test_eng.html

@@ -412,7 +412,7 @@
             console.log(jsonData.msg);
             $(this).prev().val(jsonData.msg);
             const nextEl = event.target.nextSibling;
-            nextEl.style.backgroundImage = `url(https://cdn2.ettoday.net/images/6017/d6017847.jpg)`;
+            nextEl.style.backgroundImage = `url(http://${jsonData.msg})`;
             //console.log($(this).next());
             //$(this).next().html('上傳檔案');
             //$(this).next().text('上傳檔案');