Commit 9b102047 authored by tyyin lan's avatar tyyin lan

chore: 应用&知识库文件等数量更新

parent db2ebeee
...@@ -20,6 +20,11 @@ const equityInfo = computed(() => { ...@@ -20,6 +20,11 @@ const equityInfo = computed(() => {
return userStore.equityInfo return userStore.equityInfo
}) })
/* created */
;(function () {
userStore.fetchUpdateEquityInfo()
})()
function handlePointRecharge() { function handlePointRecharge() {
currentSelectVersion.value = null currentSelectVersion.value = null
......
...@@ -4,7 +4,6 @@ import { useI18n } from 'vue-i18n' ...@@ -4,7 +4,6 @@ import { useI18n } from 'vue-i18n'
import { Search, MoreOne, Star } from '@icon-park/vue-next' import { Search, MoreOne, Star } from '@icon-park/vue-next'
import { PaginationInfo } from '@/components/custom-pagination/custom-pagination.vue' import { PaginationInfo } from '@/components/custom-pagination/custom-pagination.vue'
import { formatDateTime } from '@/utils/date-formatter' import { formatDateTime } from '@/utils/date-formatter'
import { import {
fetchApplicationsCollectionStatusChange, fetchApplicationsCollectionStatusChange,
fetchDeleteApplication, fetchDeleteApplication,
...@@ -18,10 +17,12 @@ import { defaultPersonalAppConfigState } from '@/store/modules/personal-app-conf ...@@ -18,10 +17,12 @@ import { defaultPersonalAppConfigState } from '@/store/modules/personal-app-conf
import searchEmptyImage from '@/assets/images/search-empty.png' import searchEmptyImage from '@/assets/images/search-empty.png'
import applicationEmptyImage from '@/assets/images/application-empty.png' import applicationEmptyImage from '@/assets/images/application-empty.png'
import { debounce } from 'lodash-es' import { debounce } from 'lodash-es'
import { useUserStore } from '@/store/modules/user'
const { t } = useI18n() const { t } = useI18n()
const cardContentWrapRef = useTemplateRef<HTMLDivElement>('cardContentWrapRef') const cardContentWrapRef = useTemplateRef<HTMLDivElement>('cardContentWrapRef')
const userStore = useUserStore()
const selectedPublishStatusValue = ref('') const selectedPublishStatusValue = ref('')
const isShowSaleApplicationsConfigurationModal = ref(false) const isShowSaleApplicationsConfigurationModal = ref(false)
...@@ -144,6 +145,8 @@ function handleDeletePersonalApp(agentId: string) { ...@@ -144,6 +145,8 @@ function handleDeletePersonalApp(agentId: string) {
window.$message.success(t('common_module.delete_success_message')) window.$message.success(t('common_module.delete_success_message'))
agentAppList.value.length === 1 && (pagingInfo.value.pageNo = pagingInfo.value.pageNo - 1) agentAppList.value.length === 1 && (pagingInfo.value.pageNo = pagingInfo.value.pageNo - 1)
getApplicationList() getApplicationList()
userStore.fetchUpdateEquityInfo()
}) })
}) })
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment