This is an automated email from the ASF dual-hosted git repository.
chenxingchun pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-dolphinscheduler.git
The following commit(s) were added to refs/heads/dev by this push:
new 44a4864 Enhance user experience, add close button to file details page
new 3c18139 Merge pull request #3995 from BoYiZhang/pr_3988
44a4864 is described below
commit 44a48642089ea1fd8beb53438c476ca7526b26d1
Author: zhanglong <[email protected]>
AuthorDate: Mon Oct 26 18:42:49 2020 +0800
Enhance user experience, add close button to file details page
---
.../js/conf/home/pages/resource/pages/file/pages/details/index.vue | 6 ++++++
1 file changed, 6 insertions(+)
diff --git
a/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/details/index.vue
b/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/details/index.vue
index b4ee720..8feac49 100644
---
a/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/details/index.vue
+++
b/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/details/index.vue
@@ -23,6 +23,9 @@
<div class="down">
<em class="ans-icon-download" style="font-size:20px"
data-container="body" data-toggle="tooltip" :title="$t('Download Details')"
@click="_downloadFile"></em>
<em>{{size}}</em>
+
+ <em class="ans-icon-fail-empty" style="font-size:20px"
data-container="body" data-toggle="tooltip" :title="$t('Return')"
@click="close()"></em>
+
</div>
</h2>
<template v-if="isNoType">
@@ -80,6 +83,9 @@
_go () {
this.$router.push({ name: 'file' })
},
+ close () {
+ this.$router.go(-1)
+ },
_downloadFile () {
downloadFile('/dolphinscheduler/resources/download', {
id: this.$route.params.id