Skip to content

Commit 0be96b4

Browse files
committed
发布6.0
1 parent fc87f8c commit 0be96b4

File tree

3 files changed

+2
-10
lines changed

3 files changed

+2
-10
lines changed

src/cool/config/proxy.ts

-6
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,5 @@ export const proxy = {
99
target: "https://show.cool-admin.com",
1010
changeOrigin: true,
1111
rewrite: (path: string) => path.replace(/^\/prod/, "/api")
12-
},
13-
14-
"/ap/": {
15-
target: "https://ap.cool-js.cloud",
16-
changeOrigin: true,
17-
rewrite: (path: string) => path.replace(/^\/ap/, "")
1812
}
1913
};

src/modules/base/pages/login/components/captcha.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ function refresh() {
2626
height: 40,
2727
width: 150
2828
})
29-
.then(({ captchaId, data }: any) => {
29+
.then(({ captchaId, data }) => {
3030
if (data.includes(";base64,")) {
3131
base64.value = data;
3232
} else {

src/modules/magic/hooks/ai-code.ts

+1-3
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@ import { storage, useCool } from "/@/cool";
77
export function useChatGPT() {
88
const { route, router } = useCool();
99

10-
const apiKey = ref(
11-
storage.get("chatgpt.apiKey") || "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"
12-
);
10+
const apiKey = ref(storage.get("chatgpt.apiKey") || "");
1311

1412
// 余额
1513
const balance = reactive({

0 commit comments

Comments
 (0)