Browse Source

[Fix-4921][UI] Fix download log get return 404 (#4922)

* fix download log 404

* remove hard code and fix same download problem in downloadFile

Co-authored-by: 李巨丰 <lijf@2345.com>
pull/3/MERGE
JuFeng Li 4 years ago committed by GitHub
parent
commit
d01b2c432e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/log.vue
  2. 2
      dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/details/index.vue

2
dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/log.vue

@ -168,7 +168,7 @@
* Download log
*/
_downloadLog () {
downloadFile('/log/download-log', {
downloadFile('log/download-log', {
taskInstanceId: this.stateId || this.logId
})
},

2
dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/details/index.vue

@ -87,7 +87,7 @@
this.$router.go(-1)
},
_downloadFile () {
downloadFile('/resources/download', {
downloadFile('resources/download', {
id: this.$route.params.id
})
},

Loading…
Cancel
Save