修改PDF上传
This commit is contained in:
parent
30c1d019f5
commit
cf08bbe7ee
|
@ -1,4 +1,4 @@
|
||||||
NODE_ENV=development
|
NODE_ENV=development
|
||||||
VUE_APP_API_BASE_URL=http://pbl1.natapp1.cc/jeecg-boot
|
VUE_APP_API_BASE_URL=http://r4ba683f.natappfree.cc/jeecg-boot
|
||||||
VUE_APP_CAS_BASE_URL=http://cas.example.org:8443/cas
|
VUE_APP_CAS_BASE_URL=http://cas.example.org:8443/cas
|
||||||
VUE_APP_ONLINE_BASE_URL=http://fileview.jeecg.com/onlinePreview
|
VUE_APP_ONLINE_BASE_URL=http://fileview.jeecg.com/onlinePreview
|
|
@ -62,6 +62,10 @@ const err = (error) => {
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
})
|
||||||
|
store.dispatch('Logout').then(() => {
|
||||||
|
Vue.ls.remove(ACCESS_TOKEN)
|
||||||
|
window.location.reload()
|
||||||
})
|
})
|
||||||
// update-end- --- author:scott ------ date:20190225 ---- for:Token失效采用弹框模式,不直接跳转----
|
// update-end- --- author:scott ------ date:20190225 ---- for:Token失效采用弹框模式,不直接跳转----
|
||||||
}
|
}
|
||||||
|
@ -157,6 +161,10 @@ function blobToJson(data) {
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
store.dispatch('Logout').then(() => {
|
||||||
|
Vue.ls.remove(ACCESS_TOKEN)
|
||||||
|
window.location.reload()
|
||||||
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
:box-height="50"
|
:box-height="50"
|
||||||
:max-file="999999"
|
:max-file="999999"
|
||||||
:can-download="false"
|
:can-download="false"
|
||||||
accept=".txt,.doc,.docx,.xls,.xlsx,.wps,.et,.csv,.xml,.json,.mp3,.mp4,.avi,.wmv,.jpg,.bmp,.png,.sql,.db,.dmp"
|
accept=".txt,.doc,.docx,.xls,.xlsx,.wps,.et,.csv,.xml,.json,.mp3,.mp4,.avi,.wmv,.jpg,.bmp,.png,.sql,.db,.dmp,.pdf"
|
||||||
/>
|
/>
|
||||||
</a-spin>
|
</a-spin>
|
||||||
</a-modal>
|
</a-modal>
|
||||||
|
|
|
@ -182,11 +182,12 @@
|
||||||
deleteAllFile({}).then((res) => {
|
deleteAllFile({}).then((res) => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.$message.success(res.result);
|
this.$message.success(res.result);
|
||||||
this.ipagination.total = 0;
|
|
||||||
this.ipagination.current = 1;
|
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message);
|
this.$message.warning(res.message);
|
||||||
}
|
}
|
||||||
|
this.ipagination.total = 0;
|
||||||
|
this.ipagination.current = 1;
|
||||||
|
this.loadData();
|
||||||
});
|
});
|
||||||
this.$refs.modalForm.open();
|
this.$refs.modalForm.open();
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue
Block a user