mirror of
https://github.com/cool-team-official/cool-admin-vue.git
synced 2024-11-01 14:10:27 +08:00
发布6.0
This commit is contained in:
parent
fc87f8c519
commit
0be96b406b
@ -9,11 +9,5 @@ export const proxy = {
|
|||||||
target: "https://show.cool-admin.com",
|
target: "https://show.cool-admin.com",
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
rewrite: (path: string) => path.replace(/^\/prod/, "/api")
|
rewrite: (path: string) => path.replace(/^\/prod/, "/api")
|
||||||
},
|
|
||||||
|
|
||||||
"/ap/": {
|
|
||||||
target: "https://ap.cool-js.cloud",
|
|
||||||
changeOrigin: true,
|
|
||||||
rewrite: (path: string) => path.replace(/^\/ap/, "")
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
@ -26,7 +26,7 @@ function refresh() {
|
|||||||
height: 40,
|
height: 40,
|
||||||
width: 150
|
width: 150
|
||||||
})
|
})
|
||||||
.then(({ captchaId, data }: any) => {
|
.then(({ captchaId, data }) => {
|
||||||
if (data.includes(";base64,")) {
|
if (data.includes(";base64,")) {
|
||||||
base64.value = data;
|
base64.value = data;
|
||||||
} else {
|
} else {
|
||||||
|
@ -7,9 +7,7 @@ import { storage, useCool } from "/@/cool";
|
|||||||
export function useChatGPT() {
|
export function useChatGPT() {
|
||||||
const { route, router } = useCool();
|
const { route, router } = useCool();
|
||||||
|
|
||||||
const apiKey = ref(
|
const apiKey = ref(storage.get("chatgpt.apiKey") || "");
|
||||||
storage.get("chatgpt.apiKey") || "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"
|
|
||||||
);
|
|
||||||
|
|
||||||
// 余额
|
// 余额
|
||||||
const balance = reactive({
|
const balance = reactive({
|
||||||
|
Loading…
Reference in New Issue
Block a user