前端项目实战5-redux-tookit中get请求拼接
const [xxx] = useQueryTableColumnsMutation();
useEffect(() => {
queryTableColumns(“xxx”)
.unwrap()
.then((response) => {
});
当接口请求拼接的时候要用模板字符串懂了吧
const [xxx] = useQueryTableColumnsMutation();
useEffect(() => {
queryTableColumns(“xxx”)
.unwrap()
.then((response) => {
});
当接口请求拼接的时候要用模板字符串懂了吧