feat:合并

This commit is contained in:
lixg
2023-03-17 14:12:52 +08:00
2 changed files with 2 additions and 2 deletions

View File

@@ -60,7 +60,7 @@ http.interceptors.response.use(
if (code === 1000) {
(process.env.NODE_ENV === 'development' || process.env.NODE_ENV === 'alpine') ?
router.push({path: 'login', query: { returnUrl: router.currentRoute.value.fullPath }}) :
(window.location.href = process.env.VUE_APP_LOGIN_URL + encodeURIComponent(window.location.protocol + import.meta.env.VUE_APP_BOE_API_URL + import.meta.env.VUE_APP_BASE + router.currentRoute.value.fullPath))
(window.location.href = process.env.VUE_APP_LOGIN_URL + encodeURIComponent(window.location.protocol + process.env.VUE_APP_BOE_API_URL + process.env.VUE_APP_BASE + router.currentRoute.value.fullPath))
return Promise.reject(response);
}
show && message.error(msg);

View File

@@ -100,7 +100,7 @@
>
<template #bodyCell="{ record, column }">
<template v-if="column.key === 'operation'">
<a-space>
<a-space :key="record.id">
<a-button
v-if="record.state === '草稿' && checkPer(record.permissions)"
@click="showPub(record)"