update
This commit is contained in:
@@ -131,16 +131,16 @@
|
|||||||
async function handleMenuClick({ item, key }: { item: any; key: string; keyPath: string[] }) {
|
async function handleMenuClick({ item, key }: { item: any; key: string; keyPath: string[] }) {
|
||||||
if (item.title === '健康银行') {
|
if (item.title === '健康银行') {
|
||||||
open();
|
open();
|
||||||
const url = viteOutUrl;
|
|
||||||
console.log(url);
|
|
||||||
console.log(useGlobSetting());
|
|
||||||
await defHttp
|
await defHttp
|
||||||
.get({
|
.get({
|
||||||
url: '/health-system/api/sys/encryptInfo',
|
url: '/health-system/api/sys/encryptInfo',
|
||||||
params: {
|
params: {
|
||||||
str: qs.stringify({
|
str: qs.stringify({
|
||||||
scheme: apiUrl.split('://')[0],
|
scheme: apiUrl.split('://')[0],
|
||||||
host: apiUrl.split('://')[1].substring(0, apiUrl.split('://')[1].indexOf(':')),
|
host:
|
||||||
|
apiUrl.split('://')[1].indexOf(':') !== -1
|
||||||
|
? apiUrl.split('://')[1].substring(0, apiUrl.split('://')[1].indexOf(':'))
|
||||||
|
: apiUrl.split('://')[1],
|
||||||
tokenF: getToken(),
|
tokenF: getToken(),
|
||||||
}),
|
}),
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user