You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@linkis.apache.org by pe...@apache.org on 2023/02/09 06:58:41 UTC

[linkis] branch dev-1.3.2 updated: [ISSUE-4158]Add datasource env error fix (#4162)

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

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


The following commit(s) were added to refs/heads/dev-1.3.2 by this push:
     new 8473c02ab [ISSUE-4158]Add datasource env error fix (#4162)
8473c02ab is described below

commit 8473c02abe6aaed4f076ae5ca561bc77c1c4dcd4
Author: QuantumXiecao <99...@users.noreply.github.com>
AuthorDate: Thu Feb 9 14:58:36 2023 +0800

    [ISSUE-4158]Add datasource env error fix (#4162)
    
    Co-authored-by: xiecao <ha...@alibaba-inc.com>
---
 linkis-web/src/apps/linkis/module/datasourceEnv/index.vue | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/linkis-web/src/apps/linkis/module/datasourceEnv/index.vue b/linkis-web/src/apps/linkis/module/datasourceEnv/index.vue
index dba47a6e1..0eea389ea 100644
--- a/linkis-web/src/apps/linkis/module/datasourceEnv/index.vue
+++ b/linkis-web/src/apps/linkis/module/datasourceEnv/index.vue
@@ -289,6 +289,10 @@ export default {
     },
     onModalOk(){
       this.$refs.editForm.formModel.submit((formData)=>{
+        if (!('parameter' in formData)) {
+          formData['parameter'] = {}
+        }
+
         if('pic' in formData) delete formData['pic'];
         delete formData._index
         delete formData._rowKey


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