From 9bf7e55528268b3593b60e36509419ad35a79e46 Mon Sep 17 00:00:00 2001 From: aixianling Date: Thu, 3 Nov 2022 18:30:09 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=BD=E5=8F=96=E9=A1=B5=E9=9D=A2=E5=AF=B9?= =?UTF-8?q?=E8=B1=A1=E7=B1=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/utils/PageBase.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/utils/PageBase.js b/src/components/utils/PageBase.js index 2f0d466..ababbf6 100644 --- a/src/components/utils/PageBase.js +++ b/src/components/utils/PageBase.js @@ -1,4 +1,4 @@ -export default class PageBase { +class PageBase { constructor(path, vue) { this.path = path this.name = path.replace(/.*\\([^\\]+).vue/g, '$1') @@ -33,3 +33,5 @@ export default class PageBase { } } } + +module.exports = PageBase