调整后台底部导航,上传文件接口

This commit is contained in:
Jason 2022-11-17 14:57:35 +08:00
parent 52615d1646
commit 54c58d6ee1
2 changed files with 2 additions and 2 deletions

View File

@ -79,7 +79,7 @@ export default defineComponent({
setup(props, { emit }) {
const userStore = useUserStore()
const uploadRefs = shallowRef<InstanceType<typeof ElUpload>>()
const action = ref(`${config.baseUrl}${config.urlPrefix}/common/upload/${props.type}`)
const action = ref(`${config.baseUrl}${config.urlPrefix}/upload/${props.type}`)
const headers = computed(() => ({
token: userStore.token,
version: config.version

View File

@ -188,7 +188,7 @@ const onMove = (e: any) => {
const getData = async () => {
const data = await getDecorateTabbar()
tabbar.list = data.list.map((item: any) => ({ ...item, link: JSON.parse(item.link) }))
tabbar.list = data.list
tabbar.style = data.style
}
const setData = async () => {