File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
frontend/src/views/system/embedded Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -109,12 +109,12 @@ const handleAddEmbedded = (val: any) => {
109109const wsChanged = (val : any ) => {
110110 dsForm .private_list = []
111111 dsForm .oid = val
112- getDsList ()
112+ getDsList (true )
113113}
114- const getDsList = () => {
114+ const getDsList = (change : boolean = false ) => {
115115 dsApi (dsForm .oid ).then ((res : any ) => {
116116 dsListOptions .value = res || []
117- if (! currentEmbedded .id ) {
117+ if (change || ! currentEmbedded .id ) {
118118 dsForm .private_list = dsListOptions .value .map ((ele ) => ele .id )
119119 }
120120 })
@@ -125,7 +125,7 @@ const handleBaseEmbedded = (row: any) => {
125125 if (row ) {
126126 Object .assign (dsForm , JSON .parse (row .configuration ))
127127 }
128- getDsList ()
128+ getDsList (false )
129129 ruleConfigvVisible .value = true
130130 dialogTitle .value = row ?.id
131131 ? t (' embedded.edit_basic_applications' )
You can’t perform that action at this time.
0 commit comments