Преглед на файлове

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)