diff --git a/statics/js/common.js b/statics/js/common.js index 2352684..b90a90e 100644 --- a/statics/js/common.js +++ b/statics/js/common.js @@ -237,6 +237,12 @@ $this = $($_this), href = $this.prop('href'), msg = $this.data('msg'); + + var errorDialog = art.dialog({ + icon: 'error', + title: '提示信息' + }).hide(); + art.dialog({ title: false, icon: 'question', @@ -257,7 +263,8 @@ } } else if (data.state === 'fail') { //art.dialog.alert(data.info); - alert(data.info);//暂时处理方案 + //alert(data.info);//暂时处理方案 + errorDialog.content(data.info).show(); } }); }, @@ -716,4 +723,4 @@ function open_iframe_dialog(url,title,options){ Wind.use('artDialog','iframeTools', function () { art.dialog.open(url, params); }); -} \ No newline at end of file +}