Commit 5a5f70e4555c2bbc8aaf903af662bd253053873b
Merge branch 'fix/share-401' into 'main_dev'
fix: 修复分享401问题 See merge request yunteng/thingskit-view!196
Showing
1 changed file
with
2 additions
and
1 deletions
1 | 1 | import { defHttp } from '@/utils/external/http/axios' |
2 | 2 | import { ConfigurationItemType, DictItem, OrganizationListItem, UploadResponse } from './model' |
3 | 3 | import { PaginationResult } from '/#/external/axios' |
4 | +import { isShareMode } from '@/views/share/hook' | |
4 | 5 | |
5 | 6 | enum Api { |
6 | 7 | GET_DICT = '/dict_item', |
... | ... | @@ -47,7 +48,7 @@ export const getAreaList = (data: object) => { |
47 | 48 | return defHttp.post<any>({ |
48 | 49 | url: Api.AREALIST, |
49 | 50 | data |
50 | - }) | |
51 | + },{withShareToken:isShareMode()}) | |
51 | 52 | } |
52 | 53 | |
53 | 54 | //获取企业定制 | ... | ... |