Commit b4e20533 authored by renjintao's avatar renjintao

showTablePaste

parent 5f67ceab
...@@ -357,7 +357,7 @@ export default { ...@@ -357,7 +357,7 @@ export default {
Api.get({ Api.get({
id: v, id: v,
}).then((r) => { }).then((r) => {
this.entity = r.result; this.entity = r.result || {};
}); });
this.dataType = 0; this.dataType = 0;
this.sheetNames = []; this.sheetNames = [];
...@@ -367,7 +367,7 @@ export default { ...@@ -367,7 +367,7 @@ export default {
id: v, id: v,
}).then((res) => { }).then((res) => {
if (res.success) { if (res.success) {
this.openDatas = res.result; this.openDatas = res.result || [];
this.dealOpenTable(0); this.dealOpenTable(0);
//获取excel sheetname //获取excel sheetname
if (res.result.length > 0) { if (res.result.length > 0) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment