AdaKing88
2023-08-23 9cad48db6c56c3e2796a9d6da881817ef13b6eca
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// import { reactive } from "vue";
// // import { GetCategory } from "@/api/info";
// /** 自定义hook */
// export function categoryHook() {
//   const infoData = reactive({
//     category_options: [],
//   });
//   /** 获取分类 */
//   const handlerGetCategory = () => {
//     return GetCategory().then((response) => {
//       // return response.data;
//       infoData.category_options = response.data;
//     });
//   };
//   return {
//     infoData,
//     handlerGetCategory,
//   };
// }