Commit d7e31b04 authored by Medicean's avatar Medicean

(Fix:Database) 修复 `ASP`、`Custom` 数据库管理导出问题 #172

parent 8f9b3427
......@@ -15,6 +15,7 @@
### 其它
* 修复 `jsp_custom_script_for_mysql.jsp` 使用 `base64` 编码器连接数据库时 `characterEncoding` 二次解码导致的无法识别的问题 #171
* 修复 `ASP``Custom` 数据库管理导出问题 #172
## 2019/05/13 `v(2.1.2)`
......
{
"name": "antsword",
"version": "2.1.2.1",
"version": "2.1.2.2",
"description": "中国蚁剑是一款跨平台的开源网站管理工具",
"main": "app.js",
"dependencies": {
......
......@@ -5,6 +5,7 @@
const LANG = antSword['language']['database'];
const LANG_T = antSword['language']['toastr'];
const dialog = antSword.remote.dialog;
class ASP {
......@@ -666,7 +667,6 @@ class ASP {
dumpResult() {
const grid = this.manager.result.layout.getAttachedObject();
let filename = `${this.core.__opts__.ip}_${new Date().format("yyyyMMddhhmmss")}.csv`;
antSword['test'] = this;
dialog.showSaveDialog({
title: LANG['result']['dump']['title'],
defaultPath: filename
......
......@@ -5,6 +5,7 @@
const LANG = antSword['language']['database'];
const LANG_T = antSword['language']['toastr'];
const dialog = antSword.remote.dialog;
class CUSTOM {
......@@ -616,7 +617,6 @@ class CUSTOM {
dumpResult() {
const grid = this.manager.result.layout.getAttachedObject();
let filename = `${this.core.__opts__.ip}_${new Date().format("yyyyMMddhhmmss")}.csv`;
antSword['test'] = this;
dialog.showSaveDialog({
title: LANG['result']['dump']['title'],
defaultPath: filename
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment