|
|
@@ -23,10 +23,10 @@ import { useVideoCategoryOptions } from '@src/views/publishContent/weGZH/hooks/u
|
|
|
import { WeComPlanType, WeVideoItem, VideoSearchPlanType } from '@src/views/publishContent/weCom/type'
|
|
|
import useLogger from '@src/hooks/useLogger';
|
|
|
import { debounce } from '@src/utils/helper';
|
|
|
+import { getUserInfo } from '@src/http/sso';
|
|
|
|
|
|
const { Text, Paragraph } = Typography;
|
|
|
-const IS_NON_PROD = import.meta.env.MODE !== 'production';
|
|
|
-console.log('[VideoSelectModal] MODE=', import.meta.env.MODE, 'IS_NON_PROD=', IS_NON_PROD);
|
|
|
+const SHOW_DEMAND_HOVER = import.meta.env.MODE !== 'production' || getUserInfo()?.type === 2;
|
|
|
|
|
|
type LoadMode = 'replace' | 'append' | 'jump';
|
|
|
|
|
|
@@ -519,7 +519,7 @@ const VideoSelectModal: React.FC<VideoSelectModalProps> = ({ visible, onClose, o
|
|
|
)} */}
|
|
|
</Card>
|
|
|
);
|
|
|
- if (IS_NON_PROD) {
|
|
|
+ if (SHOW_DEMAND_HOVER) {
|
|
|
return (
|
|
|
<Popover
|
|
|
key={video.videoId}
|