import React from "react"; import { Spin } from "antd"; import { connect } from "dva"; import RadioButtonGroup from "./RadioButtonGroup"; import WordCloud from "@/components/WordCloud"; import styles from "../styles/common.less"; import PanelNav from "./PanelNav"; const SearchRankCloud = ({ data, options, current, loading, currentSite, dispatch, }) => { const onChange = (val) => { dispatch({ type: "bigscreen/setSearchRankData", payload: { current: val }, }); dispatch({ type: "bigscreen/load_search_rank", }); }; const title = currentSite === "1" ? "海外" : "分销商"; const parseData = (keywords) => { return keywords.map(item => decodeURIComponent(item)) } return (