Browse Source

fix: remove useless console

main
xuziqiang 3 months ago
parent
commit
7fd1733872
  1. 1
      lib/component/form/select/select-api.vue
  2. 2
      lib/saas/store/modules/authorization-service.ts
  3. 2
      lib/saas/view/system/application.vue
  4. 1
      lib/saas/view/system/layout/header.vue
  5. 1
      lib/saas/view/system/layout/tags.vue

1
lib/component/form/select/select-api.vue

@ -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;

2
lib/saas/store/modules/authorization-service.ts

@ -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) {

2
lib/saas/view/system/application.vue

@ -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] || {};

1
lib/saas/view/system/layout/header.vue

@ -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;
}); });

1
lib/saas/view/system/layout/tags.vue

@ -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;

Loading…
Cancel
Save