@ -101,12 +101,13 @@ 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',
@ -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({