神仙都没用 1 rok temu
rodzic
commit
2eea120fe8

Plik diff jest za duży
+ 1432 - 96
build/cool/eps.d.ts


+ 2 - 2
src/config/proxy.ts

@@ -1,8 +1,8 @@
 export const proxy = {
 	"/dev/": {
-		// target: "http://127.0.0.1:8001",
+		target: "http://127.0.0.1:9009",
 		// target: "http://192.168.0.112:9009",
-		target: "https://dev-admin.cool-js.cloud",
+		// target: "https://dev-admin.cool-js.cloud",
 		changeOrigin: true,
 		rewrite: (path: string) => path.replace(/^\/dev/, "")
 	},

Plik diff jest za duży
+ 411 - 420
src/modules/helper/views/ai-code.vue


+ 7 - 1
src/plugins/editor-monaco/components/monaco.vue

@@ -101,6 +101,11 @@ function appendContent(text: string = "") {
 	}
 }
 
+// 滚动行
+function revealLine(val: number) {
+	editor?.revealLine(val);
+}
+
 // 格式化内容
 async function formatCode() {
 	await editor?.getAction("editor.action.formatDocument")?.run();
@@ -190,7 +195,8 @@ defineExpose({
 	editor,
 	setContent,
 	appendContent,
-	formatCode
+	formatCode,
+	revealLine
 });
 </script>
 

Niektóre pliki nie zostały wyświetlone z powodu dużej ilości zmienionych plików