zhoujump 1 kuukausi sitten
vanhempi
commit
205c517105
1 muutettua tiedostoa jossa 5 lisäystä ja 0 poistoa
  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
           })
         }