Commit 5f67ceab authored by renjintao's avatar renjintao

infoinfo

parent df234fbb
...@@ -342,7 +342,6 @@ export default { ...@@ -342,7 +342,6 @@ export default {
window.onresize = () => { window.onresize = () => {
///浏览器窗口大小变化 ///浏览器窗口大小变化
return (() => { return (() => {
window.screenHeight = window.innerHeight; window.screenHeight = window.innerHeight;
if (this.showTablePaste) { if (this.showTablePaste) {
this.tdHeightExcel = window.screenHeight - 180 - 220; this.tdHeightExcel = window.screenHeight - 180 - 220;
...@@ -486,6 +485,7 @@ export default { ...@@ -486,6 +485,7 @@ export default {
this.showTablePaste = false; this.showTablePaste = false;
this.btnType = "default"; this.btnType = "default";
this.ghostStatus = false; this.ghostStatus = false;
this.tdHeightExcel = window.innerHeight - 180;
}, },
async beforeUpload(file) { async beforeUpload(file) {
//初始化 //初始化
...@@ -650,7 +650,7 @@ export default { ...@@ -650,7 +650,7 @@ export default {
this.infoModal = true this.infoModal = true
} else { } else {
if (this.excelData.length == 0) { if (this.excelData.length == 0) {
this.$Message.error("没有可导入的数据!") this.$Message.error("表【" + this.sheetNames[this.tabVal] + "】没有可导入的数据!")
} else if (this.pageType == undefined) { } else if (this.pageType == undefined) {
this.$Message.error("请选择需要批量导入到的模块!") this.$Message.error("请选择需要批量导入到的模块!")
} }
......
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