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
           })
         }