perf: ds add help message

This commit is contained in:
ibuler 2025-04-17 16:01:47 +08:00 committed by 老广
parent 5766833bd2
commit e8fe386c1b
2 changed files with 8 additions and 7 deletions

View File

@ -1,5 +1,5 @@
<template>
<BaseList v-bind="tableConfig" />
<BaseList v-bind="config" />
</template>
<script>
@ -11,9 +11,10 @@ export default {
},
data() {
return {
tableConfig: {
config: {
url: '/api/v1/assets/directories/',
category: 'ds',
url: '/api/v1/assets/directories/'
helpMessage: this.$t('DirectoryServiceHelpMessage')
}
}
}

View File

@ -70,12 +70,11 @@ export default {
}
},
headerActions: {
hasLeft: false,
hasSearch: true,
hasRefresh: true,
hasExport: false,
hasImport: false,
hasCreate: false,
hasMoreActions: false
hasImport: false
},
userRelationConfig: {
icon: 'fa-user',
@ -103,7 +102,8 @@ export default {
onAddSuccess: (objects, that) => {
this.$log.debug('Select value', that.select2.value)
that.iHasObjects = [...that.iHasObjects, ...objects]
this.$store.commit('common/reload')
that.$refs.select2.clearSelected()
this.$refs.ListTable.reloadTable()
}
},
groupRelationConfig: {