update 优化 eslint
This commit is contained in:
@ -3,10 +3,10 @@
|
||||
<router-view v-slot="{ Component, route }">
|
||||
<transition :enter-active-class="animante" mode="out-in">
|
||||
<div>
|
||||
<keep-alive :include="tagsViewStore.cachedViews" v-if="!route.meta.noCache">
|
||||
<component v-if="!route.meta.link" :is="Component" :key="route.path" />
|
||||
<keep-alive v-if="!route.meta.noCache" :include="tagsViewStore.cachedViews">
|
||||
<component :is="Component" v-if="!route.meta.link" :key="route.path" />
|
||||
</keep-alive>
|
||||
<component v-if="!route.meta.link && route.meta.noCache" :is="Component" :key="route.path" />
|
||||
<component :is="Component" v-if="!route.meta.link && route.meta.noCache" :key="route.path" />
|
||||
</div>
|
||||
</transition>
|
||||
</router-view>
|
||||
|
@ -18,7 +18,7 @@ const code = route.query.code as string;
|
||||
const state = route.query.state as string;
|
||||
const source = route.query.source as string;
|
||||
const stateJson = JSON.parse(atob(state));
|
||||
const tenantId = stateJson.tenantId as string ? stateJson.tenantId as string : '000000';
|
||||
const tenantId = (stateJson.tenantId as string) ? (stateJson.tenantId as string) : '000000';
|
||||
const domain = stateJson.domain as string;
|
||||
|
||||
const processResponse = async (res: any) => {
|
||||
|
Reference in New Issue
Block a user