File tree Expand file tree Collapse file tree 2 files changed +18
-10
lines changed
Expand file tree Collapse file tree 2 files changed +18
-10
lines changed Original file line number Diff line number Diff line change @@ -274,15 +274,15 @@ const save = async (formEl: FormInstance | undefined) => {
274274 }
275275 } else {
276276 requestObj .tables = list
277- // const a = datasourceApi
278- // .add(requestObj)
279- // .then(() => {
280- // close()
281- // emit('refresh')
282- // })
283- // .finally(() => {
284- // saveLoading.value = false
285- // })
277+ datasourceApi
278+ .add (requestObj )
279+ .then (() => {
280+ close ()
281+ emit (' refresh' )
282+ })
283+ .finally (() => {
284+ saveLoading .value = false
285+ })
286286 }
287287 }
288288 })
Original file line number Diff line number Diff line change @@ -287,7 +287,11 @@ defineExpose({
287287 </span >
288288 </div >
289289
290- <div v-if =" configExpand" class =" params-table" >
290+ <div
291+ v-if =" configExpand"
292+ class =" params-table"
293+ :class =" !advancedSettingPagination.length && 'bottom-border'"
294+ >
291295 <el-table :data =" advancedSettingPagination" style =" width : 100% " >
292296 <el-table-column prop =" key" :label =" t('model.parameters')" width =" 280" />
293297 <el-table-column prop =" name" :label =" t('model.display_name')" width =" 280" />
@@ -451,6 +455,10 @@ defineExpose({
451455 border-top : none ;
452456 border-bottom : none ;
453457 overflow-y : auto ;
458+
459+ & .bottom-border {
460+ border-bottom : 1px solid #dee0e3 ;
461+ }
454462 :deep(.ed-table .ed-table__cell ) {
455463 padding : 7px 0 ;
456464 }
You can’t perform that action at this time.
0 commit comments