From ad4709e502c64206023810ed75bc89fdcd0833df Mon Sep 17 00:00:00 2001 From: "Captain.B" Date: Thu, 13 Aug 2020 11:11:14 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20mock=20=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../api/test/components/ApiKeyValue.vue | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/frontend/src/business/components/api/test/components/ApiKeyValue.vue b/frontend/src/business/components/api/test/components/ApiKeyValue.vue index cf4840bcd7..36552078a9 100644 --- a/frontend/src/business/components/api/test/components/ApiKeyValue.vue +++ b/frontend/src/business/components/api/test/components/ApiKeyValue.vue @@ -39,7 +39,7 @@ :visible.sync="itemValueVisible" class="advanced-item-value" width="70%"> - + @@ -73,7 +73,15 @@ - + + + + 环境 + 场景 + 请求1 + + +
@@ -128,7 +136,7 @@ export default { {name: "unbase64"}, { name: "substr", - params: [{name: "start"}, {name: "end"}] + params: [{name: "start"}, {name: "length"}] }, { name: "concat", @@ -147,7 +155,8 @@ export default { ], itemValuePreview: null, itemFuncs: [], - currentFunc: "" + currentFunc: "", + mockFuncs: MOCKJS_FUNC, } },