From 9325a4ee439867e9cf84683d8d960cfc2fb10a34 Mon Sep 17 00:00:00 2001 From: wangyaqi Date: Thu, 22 Sep 2022 16:30:48 +0800 Subject: [PATCH] fix: app.json key secureNetwork --- .editorconfig | 4 ++-- packages/webpack-uni-pages-loader/lib/util.js | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.editorconfig b/.editorconfig index d0d3054ab..8da7b4b0d 100644 --- a/.editorconfig +++ b/.editorconfig @@ -7,11 +7,11 @@ root = true charset = utf-8 indent_style = space indent_size = 2 -end_of_line = lf +end_of_line = crlf insert_final_newline = true trim_trailing_whitespace = true # md files [*.md] insert_final_newline = false -trim_trailing_whitespace = false \ No newline at end of file +trim_trailing_whitespace = false diff --git a/packages/webpack-uni-pages-loader/lib/util.js b/packages/webpack-uni-pages-loader/lib/util.js index 739f903ca..44a33ad6e 100644 --- a/packages/webpack-uni-pages-loader/lib/util.js +++ b/packages/webpack-uni-pages-loader/lib/util.js @@ -133,6 +133,7 @@ function parseTabBar (style = {}) { const NON_APP_JSON_KEYS = [ 'appid', 'unipush', + 'secureNetwork', 'usingComponents', 'optimization', 'scopedSlotsCompiler', -- GitLab