From dafb933ebe4564285fe1e9761b800fadabf83779 Mon Sep 17 00:00:00 2001 From: hanyuqing <1106611654@qq.com> Date: Wed, 10 Sep 2025 20:51:36 +0800 Subject: [PATCH] test --- gyxtp/src/api/api/graph.js | 6 ++++++ gyxtp/src/view/small.vue | 2 ++ 2 files changed, 8 insertions(+) diff --git a/gyxtp/src/api/api/graph.js b/gyxtp/src/api/api/graph.js index 31ca8b2..0c5b909 100644 --- a/gyxtp/src/api/api/graph.js +++ b/gyxtp/src/api/api/graph.js @@ -74,4 +74,10 @@ export const getpoinByName = (param) => { url: '/api/test/test5/'+param, method: 'get', }); +}; +export const getpoinByName = (param) => { + return request({ + url: '/api/test/test5/'+param, + method: 'get', + }); }; \ No newline at end of file diff --git a/gyxtp/src/view/small.vue b/gyxtp/src/view/small.vue index 0ddab38..fb33258 100644 --- a/gyxtp/src/view/small.vue +++ b/gyxtp/src/view/small.vue @@ -681,6 +681,8 @@ export default { // this.getAll(); // this.drawGraphData() + + getpoinByName(this.getpoinName).then((res) => { let nodes = [] let links = []