feat: style

pull/4/head
xingyu 2023-04-23 14:08:05 +08:00
parent 092730dfd7
commit 0143cd5978
3 changed files with 2 additions and 3 deletions

View File

@ -1,7 +1,7 @@
<template>
<Footer :class="prefixCls" v-if="getShowLayoutFooter" ref="footerRef">
<div :class="`${prefixCls}__links`">
<a @click="openWindow(SITE_URL)">{{ t('layout.footer.onlinePreview') }}</a>
<a @click="openWindow(SITE_URL)"></a>
<GithubFilled @click="openWindow(GITHUB_URL)" :class="`${prefixCls}__github`" />

View File

@ -5,4 +5,4 @@ export const GITHUB_URL = 'https://gitee.com/xingyuv/vue-vben-admin'
export const DOC_URL = 'http://vben.xingyuv.com/'
// site url
export const SITE_URL = 'http://vben.xingyuv.com/'
export const SITE_URL = 'http://static.yudao.iocoder.cn/mp/xinyu370.jpeg'

View File

@ -58,7 +58,6 @@ const transform: AxiosTransform = {
// return '[HTTP] Request has no return value';
throw new Error(t('sys.api.apiRequestFailed'))
}
console.info(data)
// 这里 coderesultmessage为 后台统一的字段,需要在 types.ts内修改为项目自己的接口返回格式
const { code, data: result, msg } = data
console.info(result)