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) => {
109
109
const wsChanged = (val : any ) => {
110
110
dsForm .private_list = []
111
111
dsForm .oid = val
112
- getDsList ()
112
+ getDsList (true )
113
113
}
114
- const getDsList = () => {
114
+ const getDsList = (change : boolean = false ) => {
115
115
dsApi (dsForm .oid ).then ((res : any ) => {
116
116
dsListOptions .value = res || []
117
- if (! currentEmbedded .id ) {
117
+ if (change || ! currentEmbedded .id ) {
118
118
dsForm .private_list = dsListOptions .value .map ((ele ) => ele .id )
119
119
}
120
120
})
@@ -125,7 +125,7 @@ const handleBaseEmbedded = (row: any) => {
125
125
if (row ) {
126
126
Object .assign (dsForm , JSON .parse (row .configuration ))
127
127
}
128
- getDsList ()
128
+ getDsList (false )
129
129
ruleConfigvVisible .value = true
130
130
dialogTitle .value = row ?.id
131
131
? t (' embedded.edit_basic_applications' )
You can’t perform that action at this time.
0 commit comments