fix(测试跟踪): 解决69版本chrome兼容性问题

--bug=1019481 --user=陈建星 【测试跟踪】2.3版本的测试跟踪模块,使用69版本的chrome无法访问,使用80或更高版本的chrom可以正常访问,希望兼容69版本 #19519 https://www.tapd.cn/55049933/s/1292771
This commit is contained in:
chenjianxing 2022-11-09 11:29:49 +08:00 committed by jianxing
parent 55d97dccac
commit 5612a1aba6
2 changed files with 4 additions and 1 deletions

View File

@ -1,3 +1,5 @@
module.exports = {
presets: ["@vue/cli-plugin-babel/preset"]
presets: ["@vue/cli-plugin-babel/preset"],
// 解析可选链语法插件
plugins: ["@babel/plugin-proposal-optional-chaining"]
};

View File

@ -71,6 +71,7 @@
"devDependencies": {
"@babel/core": "^7.12.16",
"@babel/eslint-parser": "^7.12.16",
"@babel/plugin-proposal-optional-chaining": "^7.18.9",
"@vue/cli-plugin-babel": "^5.0.7",
"@vue/cli-plugin-eslint": "^5.0.7",
"@vue/cli-service": "^5.0.7",