Przeglądaj źródła

资源图片报错提示消息

jack 7 lat temu
rodzic
commit
f48f578a0e
2 zmienionych plików z 9 dodań i 1 usunięć
  1. 5 1
      cmp-portal/js/resourceIssue.js
  2. 4 0
      js/resourceIssue.js

+ 5 - 1
cmp-portal/js/resourceIssue.js

@ -466,7 +466,11 @@ $(document).ready(function() {
466 466
						location.href = "resourceList.html"
467 467
					}
468 468

469
				}
469
				}else {
470
						if(data.code==90) {
471
							$.MsgBox.Alert('提示', '由于操作时间过久,上传图片已失效,请重新上传。');
472
						}
473
					}
470 474
			},
471 475
			"data": $data,
472 476
			"beforeSend": function() { /*console.log(this.data)*/ },

+ 4 - 0
js/resourceIssue.js

@ -526,6 +526,10 @@ $(document).ready(function() {
526 526
								location.href="resourceList.html"
527 527
							}
528 528
							
529
						}else{
530
							if(data.code==90) {
531
								$.MsgBox.Alert('提示', '由于操作时间过久,上传图片已失效,请重新上传。');
532
							}
529 533
						}
530 534
					},
531 535
					"data": $data,