zhangxin 1 месяц назад
Родитель
Сommit
64efc20965
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      pages/wareHouse/components/edit.vue

+ 1 - 1
pages/wareHouse/components/edit.vue

@@ -532,7 +532,7 @@ export default {
532
                             this.clearForm();
532
                             this.clearForm();
533
                         }
533
                         }
534
                     }).catch(err => {
534
                     }).catch(err => {
535
-                        uni.$u.toast(err.msg);
535
+                        uni.$u.toast(err);
536
                     })
536
                     })
537
                 } else {
537
                 } else {
538
                     console.log('表单校验不通过');
538
                     console.log('表单校验不通过');