|
@@ -61,7 +61,7 @@ export default {
|
|
};
|
|
};
|
|
},
|
|
},
|
|
mounted() {
|
|
mounted() {
|
|
- alert(this.head.length)
|
|
|
|
|
|
+ // alert(this.head.length)
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
beforeUpload(file) {
|
|
beforeUpload(file) {
|
|
@@ -76,8 +76,8 @@ export default {
|
|
return false;
|
|
return false;
|
|
},
|
|
},
|
|
handleSuccess({ results, header }) {
|
|
handleSuccess({ results, header }) {
|
|
- alert(this.head.length, header.length)
|
|
|
|
- console.log(results)
|
|
|
|
|
|
+ // alert(this.head.length, header.length)
|
|
|
|
+ // console.log(results)
|
|
if (!this.loading) {
|
|
if (!this.loading) {
|
|
this.loading = true;
|
|
this.loading = true;
|
|
if (results.length === 0) {
|
|
if (results.length === 0) {
|