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

View File

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