fix: remove useless console
This commit is contained in:
@@ -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;
|
||||||
|
@@ -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) {
|
||||||
|
@@ -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] || {};
|
||||||
|
@@ -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;
|
||||||
});
|
});
|
||||||
|
@@ -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;
|
||||||
|
Reference in New Issue
Block a user