diff --git a/src/main.js b/src/main.js index e07b8db..facb2ce 100644 --- a/src/main.js +++ b/src/main.js @@ -100,13 +100,14 @@ import Sortable from 'sortablejs'; * * Currently MockJs will be used in the production environment, * please remove it before going online ! ! ! - */ -if (process.env.NODE_ENV === 'production') { - const { - mockXHR - } = require('../mock') - mockXHR() -} + */ + +// if (process.env.NODE_ENV === 'production') { +// const { +// mockXHR +// } = require('../mock') +// mockXHR() +// } new Vue({ el: '#app', diff --git a/src/views/resource/components/addLr.vue b/src/views/resource/components/addLr.vue index 1f921a1..cca1a1d 100644 --- a/src/views/resource/components/addLr.vue +++ b/src/views/resource/components/addLr.vue @@ -238,6 +238,7 @@ handleProgress(event, file, fileList) { this.showProgress = true; this.uploadProgress = event.percent; + console.log("uploadProgress",this.showProgress,uploadProgress,event) }, async getCategoryList() { const res = await getCategory({