fix: remove useless console

This commit is contained in:
xuziqiang
2024-07-01 16:37:37 +08:00
parent 2d9fc62d86
commit 7fd1733872
5 changed files with 0 additions and 7 deletions

View File

@@ -70,7 +70,6 @@ export const authorizationService = defineStore({
this.dealResourceTree(this.userResourceList);
} else {
const res = await this.appConfig.userResource();
console.log(res, 'hshshhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh');
this.userResourceList = res.data ? res.data : [];
if (this.appConfig.defaultResource) {
@@ -92,7 +91,6 @@ export const authorizationService = defineStore({
//初始化菜单树
async initMenuResource() {
const res = await this.appConfig.userResource();
console.log(res, 'bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb');
this.initMenus = [];
if (this.appConfig.resourceName && res.data && res.data.length) {

View File

@@ -75,12 +75,10 @@
authorizationStore.setProjectId(Cookies.get('projectUuid'));
}
const { route: routeModules, routeModuleObject, routeModule } = storeToRefs(useRouteStore());
console.log(routeModules, 'routeModules');
const headers = computed(() => {
const module = cloneDeep(routeModules.value);
const list = [];
console.log('----');
keepAliveStore.clearKeepAlive();
for (let i = 0, j = module.length; i < j; i++) {
const mod = module[i] || {};

View File

@@ -178,7 +178,6 @@
const configStore = appConfigStore();
const { getThemeConfig: themeConfig } = storeToRefs(configStore);
console.log(configStore.headerSlotConfig);
const headerSlot = computed(() => {
return configStore.headerSlotConfig;
});

View File

@@ -90,7 +90,6 @@
clickTag(rightTarget.value);
};
const selectTags = inject('selectTags');
console.log(selectTags);
const baseHeader = inject('baseHeader');
const closeMenu = () => {
visible.value = false;