Преглед изворни кода

feat: error transmission of table components

Casper Dai пре 2 година
родитељ
комит
373c1e333d
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      src/components/table/mixins/table.js

+ 1 - 0
src/components/table/mixins/table.js

@@ -202,6 +202,7 @@ export default {
               options.error = true
               options.list = []
             }
+            return Promise.reject(e)
           }
         ).finally(() => {
           !options.death && this.$emit('changed', options.list)