Sfoglia il codice sorgente

读取主从表数据catch报错提示

zhuth 7 anni fa
parent
commit
81793cf3dc
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      frontend/saas-web/app/util/FormUtil.js

+ 1 - 0
frontend/saas-web/app/util/FormUtil.js

@@ -225,6 +225,7 @@ Ext.define('saas.util.FormUtil', {
                 .catch(function(response) {
                     form.setLoading(false);
                     console.error(response);
+                    saas.util.BaseUtil.showErrorToast(response.message);
                 });
             }else{
                 //取后台编号