From cfd26964d79e2764f49cc51ebfe9adefa09d4424 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tu=C4=9F=C3=A7e=20K=C3=BC=C3=A7=C3=BCko=C4=9Flu?= Date: Wed, 28 Dec 2022 11:48:05 +0300 Subject: [PATCH] lint fix --- service/CustomerService.js | 1 + service/NodeService.js | 1 + service/ProductService.js | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/service/CustomerService.js b/service/CustomerService.js index 9721eb3f5..14049c42a 100755 --- a/service/CustomerService.js +++ b/service/CustomerService.js @@ -1,6 +1,7 @@ export default class CustomerService { constructor() { const runtimeConfig = useRuntimeConfig(); + this.contextPath = runtimeConfig.public.contextPath; } diff --git a/service/NodeService.js b/service/NodeService.js index a1f6c01ed..ef92eeb8f 100755 --- a/service/NodeService.js +++ b/service/NodeService.js @@ -1,6 +1,7 @@ export default class NodeService { constructor() { const runtimeConfig = useRuntimeConfig(); + this.contextPath = runtimeConfig.public.contextPath; } diff --git a/service/ProductService.js b/service/ProductService.js index cc9154c95..6ea75b23f 100644 --- a/service/ProductService.js +++ b/service/ProductService.js @@ -1,7 +1,7 @@ - export default class ProductService { constructor() { const runtimeConfig = useRuntimeConfig(); + this.contextPath = runtimeConfig.public.contextPath; }