mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-24 02:24:59 +08:00
(feature)(webapp) use nativeQuery field to determine whether it is a selection (#222)
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import { useCallback, useEffect, useState } from 'react';
|
||||
import { MsgDataType } from '../../../common/type';
|
||||
import { getToken, isProd } from '../../../utils/utils';
|
||||
import { webPageHost } from '../../../common/env';
|
||||
|
||||
type Props = {
|
||||
id: string | number;
|
||||
@@ -88,6 +89,7 @@ const WebPage: React.FC<Props> = ({ id, data }) => {
|
||||
'?',
|
||||
`?token=${getToken()}&miniProgram=true&reportName=${name}&filterData=${filterData}&`
|
||||
);
|
||||
urlValue = `${webPageHost}${urlValue}`;
|
||||
} else {
|
||||
const params = Object.keys(valueParams || {}).map(key => `${key}=${valueParams[key]}`);
|
||||
if (params.length > 0) {
|
||||
|
||||
Reference in New Issue
Block a user