liushengqiang hace 2 años
padre
commit
ac8cf0b51d
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      src/views/home/index.tsx

+ 2 - 1
src/views/home/index.tsx

@@ -25,7 +25,8 @@ export default defineComponent({
     };
 
     /** 重新加载数据 */
-    const reloadData = () => {
+    const reloadData = async () => {
+      await getMusicGroup();
       homeData.reloadTotal += 1;
     };