mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-05 19:41:44 +08:00
debug-$.form.model
This commit is contained in:
parent
566c24ae37
commit
64fa38c410
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user