aa
This commit is contained in:
@@ -157,9 +157,9 @@ mui.plusReady(function() {
|
||||
axios.get("/rest/ad/position",{params:{position : 7}}).then(function (response) {
|
||||
var data = response.data.data;
|
||||
if (data) {
|
||||
document.getElementById("img").setAttribute("src", BASE_PATH+"/img/"+data.imgId);
|
||||
document.getElementById("img").setAttribute("src", data.imgUrl);
|
||||
document.getElementById("img").addEventListener("longtap", function(event) {
|
||||
download(BASE_PATH+"/img/"+data.imgId);
|
||||
download(data.imgUrl);
|
||||
})
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user