From fbbc52539802c4c6b82a896eb5391eee01f70f53 Mon Sep 17 00:00:00 2001 From: lyt <1105290566@qq.com> Date: Mon, 27 Jun 2022 15:35:38 +0800 Subject: [PATCH] =?UTF-8?q?'admin-22.06.27:=E4=BF=AE=E5=A4=8D=E6=A8=A1?= =?UTF-8?q?=E6=9D=BF=E7=BC=96=E8=AF=91=E5=8F=AF=E9=93=BE=E5=BC=8F=E6=93=8D?= =?UTF-8?q?=E4=BD=9C=E7=AC=A6=E6=8A=A5=E9=94=99'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- babel.config.js | 1 + package.json | 1 + 2 files changed, 2 insertions(+) diff --git a/babel.config.js b/babel.config.js index dcd8520..ec1317e 100644 --- a/babel.config.js +++ b/babel.config.js @@ -1,3 +1,4 @@ module.exports = { presets: ['@vue/cli-plugin-babel/preset'], + plugins: ['@babel/plugin-proposal-optional-chaining'], }; diff --git a/package.json b/package.json index da9b247..63a01be 100644 --- a/package.json +++ b/package.json @@ -29,6 +29,7 @@ }, "devDependencies": { "@babel/eslint-parser": "^7.16.5", + "@babel/plugin-proposal-optional-chaining": "^7.17.12", "@vue/cli-plugin-babel": "~4.5.15", "@vue/cli-plugin-eslint": "~4.5.15", "@vue/cli-plugin-router": "~4.5.15",