zhoujump 1 月之前
父节点
当前提交
205c517105
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      src/views/user/form.vue

+ 5 - 0
src/views/user/form.vue

@@ -147,6 +147,11 @@ export default Vue.extend({
             this.isOk = true
             this.loading = false
           }).catch(err => {
+            this.$notify({
+              title: '提示',
+              message: '提交表单失败:' + err,
+              type: 'error'
+            })
             this.loading = false
           })
         }