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

@@ -180,7 +180,6 @@
* 获取数据 * 获取数据
*/ */
const fetch = () => { const fetch = () => {
console.log('requiredParams', getBindValues.value.checkRequiredParams);
if (getBindValues.value.checkRequiredParams === false) { if (getBindValues.value.checkRequiredParams === false) {
options.value = []; options.value = [];
return; return;

View File

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

View File

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

View File

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

View File

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