You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@linkis.apache.org by ca...@apache.org on 2022/08/31 14:23:54 UTC

[incubator-linkis] branch dev-1.3.1 updated: Open the download function (#3146)

This is an automated email from the ASF dual-hosted git repository.

casion pushed a commit to branch dev-1.3.1
in repository https://gitbox.apache.org/repos/asf/incubator-linkis.git


The following commit(s) were added to refs/heads/dev-1.3.1 by this push:
     new 7f7b8f563 Open the download function (#3146)
7f7b8f563 is described below

commit 7f7b8f5630fa010e87bfbd77d762344e20eac041
Author: Yonghao Mei <73...@users.noreply.github.com>
AuthorDate: Wed Aug 31 22:23:47 2022 +0800

    Open the download function (#3146)
    
    * upd: open the download function
    * fix: resolve category display problem in English mode
---
 linkis-web/src/common/service/mixin.js              | 2 +-
 linkis-web/src/dss/module/resourceSimple/engine.vue | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/linkis-web/src/common/service/mixin.js b/linkis-web/src/common/service/mixin.js
index 33624343d..f02fe4dfa 100644
--- a/linkis-web/src/common/service/mixin.js
+++ b/linkis-web/src/common/service/mixin.js
@@ -40,7 +40,7 @@ export default {
     getProjectJsonResult(key, name = 'visualis') {
       // 用于判断返回什么样的返回值
       const baseInfo = storage.get('baseInfo', 'local');
-      if (!baseInfo) return;
+      if (!baseInfo) return true;
       const vsBi = baseInfo.applications ? (baseInfo.applications.find((item) => item.name === name) || {}) : {};
       let projectJson = vsBi.enhanceJson;
       if(!projectJson && key==='rsDownload') {
diff --git a/linkis-web/src/dss/module/resourceSimple/engine.vue b/linkis-web/src/dss/module/resourceSimple/engine.vue
index 7f2c00d8e..ce2c9818e 100644
--- a/linkis-web/src/dss/module/resourceSimple/engine.vue
+++ b/linkis-web/src/dss/module/resourceSimple/engine.vue
@@ -27,7 +27,7 @@
       <div class="engine-header-bar">
         <h3 class="data-type-title">{{ $t('message.common.resourceSimple.YS') }}</h3>
         <div class="classify">
-          <span>{{ $t('message.common.resourceSimple.FL') }}</span>
+          <span style="display: inline">{{ $t('message.common.resourceSimple.FL') }}</span>
           <Select v-model="ideSelectData">
             <Option
               v-for="item in typeList"


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@linkis.apache.org
For additional commands, e-mail: commits-help@linkis.apache.org