@@ -7,7 +7,7 @@ const jQuery = require('jquery');
let warn = require("../images/warn.png")
let loadingImg = require("../images/loading.gif")
$.alerModal = function (options) {
- $('.divModal').remove()
+ $('.divModal,.alertModal').remove()
var dft = {
sureBtn: true,
quiteBtn: false,
@@ -286,6 +286,9 @@ const post = function (url, data, opts) {
//alert('无token判断,跳回登录')
// window.location.href = '../login.html';
} else {
+ if($(".alertModal:visible").length){
+ return;
+ }
$.alerModal({
"message": "没有该权限",
type: "tip",