mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +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
|
* @param tips
|
||||||
*/
|
*/
|
||||||
_form.prototype.modal = function (url, data, callback, loading, 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) {
|
this.load(url, data, 'GET', function (res) {
|
||||||
if (typeof (res) === 'object') {
|
if (typeof (res) === 'object') {
|
||||||
return $.msg.auto(res);
|
return $.msg.auto(res);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user