diff --git a/.npmrc b/.npmrc new file mode 100644 index 0000000..434547d --- /dev/null +++ b/.npmrc @@ -0,0 +1 @@ +registry=http://sy-registry.shiyue.com diff --git a/package-lock.json b/package-lock.json index 68ad969..4b5d35e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,6 +9,7 @@ "version": "0.0.0", "dependencies": { "@antv/g2plot": "^2.4.31", + "@sy/y-code-chart": "^1.2.1", "@vueuse/core": "^10.11.0", "ant-design-vue": "^4.1.2", "axios": "^1.6.7", @@ -316,9 +317,9 @@ } }, "node_modules/@antv/g2plot": { - "version": "2.4.31", - "resolved": "http://sy-registry.shiyue.com/@antv/g2plot/-/g2plot-2.4.31.tgz", - "integrity": "sha512-SlWHYVsJgRN7E1Oe5Qk6yWBrSWmctmloknFmklaqe9vEeK+YB9ZLUffZvtAHT10mA2NZ+VjGUhlnMNgR9M1PQg==", + "version": "2.4.32", + "resolved": "http://sy-registry.shiyue.com/@antv/g2plot/-/g2plot-2.4.32.tgz", + "integrity": "sha512-HTBuAMa+PJ6DqY1XCX1GBNTGz/IBmn9lx2xu18NQSHtgXAIHWSF+WYs7Aj8iaujcapM8g+IPgjS6ObO1u9CbFg==", "dependencies": { "@antv/color-util": "^2.0.6", "@antv/event-emitter": "^0.1.2", @@ -1873,6 +1874,15 @@ "nanopop": "^2.1.0" } }, + "node_modules/@sy/y-code-chart": { + "version": "1.2.1", + "resolved": "http://sy-registry.shiyue.com/@sy/y-code-chart/-/y-code-chart-1.2.1.tgz", + "integrity": "sha512-5YN5SLarCWfEhv2Nq3rdDP+/I5BRP/x3S+Ix1n91KuCvmI8+Y6e2k+lFbMKIxjQ21vDQGHQakvRxezlsvWppWw==", + "dependencies": { + "@antv/g2plot": "^2.4.32", + "@vueuse/core": "^10.11.0" + } + }, "node_modules/@tsconfig/node20": { "version": "20.1.4", "resolved": "https://registry.npmmirror.com/@tsconfig/node20/-/node20-20.1.4.tgz", @@ -7351,9 +7361,9 @@ } }, "@antv/g2plot": { - "version": "2.4.31", - "resolved": "http://sy-registry.shiyue.com/@antv/g2plot/-/g2plot-2.4.31.tgz", - "integrity": "sha512-SlWHYVsJgRN7E1Oe5Qk6yWBrSWmctmloknFmklaqe9vEeK+YB9ZLUffZvtAHT10mA2NZ+VjGUhlnMNgR9M1PQg==", + "version": "2.4.32", + "resolved": "http://sy-registry.shiyue.com/@antv/g2plot/-/g2plot-2.4.32.tgz", + "integrity": "sha512-HTBuAMa+PJ6DqY1XCX1GBNTGz/IBmn9lx2xu18NQSHtgXAIHWSF+WYs7Aj8iaujcapM8g+IPgjS6ObO1u9CbFg==", "requires": { "@antv/color-util": "^2.0.6", "@antv/event-emitter": "^0.1.2", @@ -8367,6 +8377,15 @@ "nanopop": "^2.1.0" } }, + "@sy/y-code-chart": { + "version": "1.2.1", + "resolved": "http://sy-registry.shiyue.com/@sy/y-code-chart/-/y-code-chart-1.2.1.tgz", + "integrity": "sha512-5YN5SLarCWfEhv2Nq3rdDP+/I5BRP/x3S+Ix1n91KuCvmI8+Y6e2k+lFbMKIxjQ21vDQGHQakvRxezlsvWppWw==", + "requires": { + "@antv/g2plot": "^2.4.32", + "@vueuse/core": "^10.11.0" + } + }, "@tsconfig/node20": { "version": "20.1.4", "resolved": "https://registry.npmmirror.com/@tsconfig/node20/-/node20-20.1.4.tgz", diff --git a/package.json b/package.json index 4957ea6..ae2b659 100644 --- a/package.json +++ b/package.json @@ -13,6 +13,7 @@ }, "dependencies": { "@antv/g2plot": "^2.4.31", + "@sy/y-code-chart": "^1.2.1", "@vueuse/core": "^10.11.0", "ant-design-vue": "^4.1.2", "axios": "^1.6.7", diff --git a/src/views/config-manage/project-cfg/service.js b/src/views/config-manage/project-cfg/service.js index f8d2342..55b1495 100644 --- a/src/views/config-manage/project-cfg/service.js +++ b/src/views/config-manage/project-cfg/service.js @@ -3,7 +3,7 @@ import { get, post } from "@/utils/request"; // 获取项目列表 export function getProjectList({ page, perPage, projectName }) { return get({ - url: `/api/v1/project/list`, + url: `https://custom-chart-api.shiyuegame.com:19998/api/v1/project/list`, params: { page, per_page: perPage,