自动化立体仓库 - WMS系统
#
luxiaotao1123
2020-06-22 93ab24dc700d4cd97cd80c727b15957d129aeb75
src/main/webapp/static/js/common.js
@@ -104,11 +104,17 @@
                url: url,
                data: data,
                dataType: 'json',
                header: {'Content-Type': 'application/json'},
                header: {'token': localStorage.getItem('token')},
                timeout: 10000,
                cache: false,
                success: function (result) {
                    callback(result);
                success: function (res) {
                    if (res.code === 200){
                        callback(res);
                    } else if (res.code === 403){
                        top.location.href = baseUrl+"/";
                    }  else {
                        layer.msg(res.msg);
                    }
                },
                error: function (res, type) {