13 lines
418 B
TypeScript
13 lines
418 B
TypeScript
import { defineStore } from "pinia";
|
|
import { ref } from "vue";
|
|
|
|
export const useConfig = defineStore('config', () => {
|
|
// const BASE_URL = ref<string>("https://ppmp.fenshenzhike.com/api");
|
|
// const BASE_URL = ref<string>("http://localhost:1218/api");
|
|
const BASE_URL = ref<string>("http://192.168.0.119:1218/api");
|
|
// const BASE_URL = ref<string>("http://192.30.5.11:1218/api");
|
|
|
|
return {
|
|
BASE_URL
|
|
}
|
|
}) |