From b0764ffa53fe631e0bcf74ca1a414b6392924340 Mon Sep 17 00:00:00 2001 From: kawaiiQ <597405815@qq.com> Date: Fri, 24 Feb 2017 10:34:39 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=88=9B=E5=BB=BA=E6=8C=89?= =?UTF-8?q?=E9=92=AE=E9=93=BE=E6=8E=A5=E4=B8=BA=E7=A9=BA=E7=9A=84BUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sat.core.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sat.core.js b/sat.core.js index ee79d45..158af17 100644 --- a/sat.core.js +++ b/sat.core.js @@ -381,7 +381,7 @@ SATable.createHead = function() { self.dom.filter.button = btnFilter } if (self.createURL != null) { - var btnCreate = getDom.AButton('创建', 'javascript:void(0);') + var btnCreate = getDom.AButton('创建', self.createURL) $(divBtn).append(btnCreate) } $(divBetween).append(divTitle).append(divBtn) @@ -857,4 +857,4 @@ SATable.SimpleAjaxTable = function(tableInfo) { saTable.initData(tableInfo) saTable.initTable() saTable.update() -} \ No newline at end of file +}