|
|
@@ -209,6 +209,7 @@ export default {
|
|
|
async reGetData(url,start) {
|
|
|
const res = await axios.get(url);
|
|
|
if (res.success) {
|
|
|
+ if(!res.data || !res.data.invoice_data.words_result || !res.data.invoice_data.words_result.length) throw new Error("识别错误");
|
|
|
this.table = this.setData(res.data.invoice_data.words_result[0].result);
|
|
|
const end = Date.now();
|
|
|
Message.info({
|