feat: 添加pinia状态管理库和Tabbar组件
- 添加pinia状态管理库和Tabbar组件 - 导入新的组件和模块 - 更新页面布局和样式 - 删除无用的文件和代码
This commit is contained in:
10
src/composables/useConfig.ts
Normal file
10
src/composables/useConfig.ts
Normal file
@ -0,0 +1,10 @@
|
||||
import { defineStore } from "pinia";
|
||||
import { ref } from "vue";
|
||||
|
||||
export const useConfig = defineStore('config', () => {
|
||||
const BASE_URL = ref<string>("https://ppmp.fenshenzhike.com/api");
|
||||
|
||||
return {
|
||||
BASE_URL
|
||||
}
|
||||
})
|
Reference in New Issue
Block a user