mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-24 07:49:47 +08:00
fix(projects): 修复字典数据重复获取问题
This commit is contained in:
@ -10,12 +10,14 @@ import { useAppStore } from '@/store/modules/app';
|
||||
import { useAuth } from '@/hooks/business/auth';
|
||||
import { useDownload } from '@/hooks/business/download';
|
||||
import { useTable, useTableOperate } from '@/hooks/common/table';
|
||||
import { useDict } from '@/hooks/business/dict';
|
||||
import { $t } from '@/locales';
|
||||
import ButtonIcon from '@/components/custom/button-icon.vue';
|
||||
import TableHeaderOperation from '@/components/advanced/table-header-operation.vue';
|
||||
import StatusSwitch from '@/components/custom/status-switch.vue';
|
||||
import TenantPackageSearch from './modules/tenant-package-search.vue';
|
||||
import TenantPackageOperateDrawer from './modules/tenant-package-operate-drawer.vue';
|
||||
|
||||
defineOptions({
|
||||
name: 'TenantPackageList'
|
||||
});
|
||||
@ -24,6 +26,8 @@ const appStore = useAppStore();
|
||||
const { download } = useDownload();
|
||||
const { hasAuth } = useAuth();
|
||||
|
||||
useDict('sys_normal_disable', false);
|
||||
|
||||
const {
|
||||
columns,
|
||||
columnChecks,
|
||||
|
@ -18,7 +18,7 @@ const { formRef, validate, restoreValidation } = useNaiveForm();
|
||||
|
||||
const model = defineModel<Api.System.TenantPackageSearchParams>('model', { required: true });
|
||||
|
||||
const { options: sysNormalDisableOptions } = useDict('sys_normal_disable');
|
||||
const { options: sysNormalDisableOptions } = useDict('sys_normal_disable', false);
|
||||
|
||||
async function reset() {
|
||||
await restoreValidation();
|
||||
|
Reference in New Issue
Block a user