From 64fa38c41004b1a4633344b285075c28f6945ffe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E6=99=AF=E7=AB=8B?= Date: Mon, 20 Feb 2017 11:02:22 +0800 Subject: [PATCH] debug-$.form.model --- public/static/admin/plugs.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/public/static/admin/plugs.js b/public/static/admin/plugs.js index b716a2506..f397b43c3 100644 --- a/public/static/admin/plugs.js +++ b/public/static/admin/plugs.js @@ -301,8 +301,6 @@ define(['zeroclipboard', 'jquery'], function (ZeroClipboard) { * @param tips */ _form.prototype.modal = function (url, data, callback, loading, tips) { - data && (typeof (data) === 'object') && (data = $.param(data)); - data && (url += (url.indexOf('?') === -1 ? '?' : '&') + data); this.load(url, data, 'GET', function (res) { if (typeof (res) === 'object') { return $.msg.auto(res);