zhoujump 1 месяц назад
Родитель
Сommit
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
           })
         }