前端项目实战5-redux-tookit中get请求拼接

 const [xxx] = useQueryTableColumnsMutation();

useEffect(() => {

    queryTableColumns(“xxx”)

      .unwrap()

      .then((response) => {

      });

当接口请求拼接的时候要用模板字符串懂了吧 

posted @ 2022-08-13 21:30  前端导师歌谣  阅读(22)  评论(0)    收藏  举报