增加sonar测试并修复sonar测试的问题

This commit is contained in:
zlt
2019-02-04 14:18:47 +08:00
parent e16d8f5d02
commit 110bdc5a84
58 changed files with 181 additions and 233 deletions
@@ -75,20 +75,6 @@
// layer.msg("演示阶段", {icon: 1});
var url = config.base_server + 'api-generator/generator/code?access_token=' + config.getToken().access_token + "&tables=" + obj.data.tableName;
window.location.href = url;
// var xhr = new XMLHttpRequest();
// xhr.open('GET', url, true);
// xhr.responseType = "blob";
// xhr.setRequestHeader("client_type", "DESKTOP_WEB");
// xhr.onload = function() {
// if (this.status == 200) {
// var blob = this.response;
// var objecturl = URL.createObjectURL(blob);
// window.location.href = objecturl;
// }
// }
// xhr.send();
};
});
</script>