Browse Source

固定package @tarojs/plugin-http的版本为4.1.1,避免一种出错场景:因安装需要,把package-lock.json删除后,重新安装依赖时,导致使用解析了plugin-http 4.1.4,即最新版本,在这种情况下会出现依赖冲突错误

dengdx 3 weeks ago
parent
commit
0402998952
1 changed files with 1 additions and 1 deletions
  1. 1 1
      package.json

+ 1 - 1
package.json

@@ -51,7 +51,7 @@
     "@tarojs/components": "4.1.1",
     "@tarojs/helper": "4.1.1",
     "@tarojs/plugin-framework-react": "4.1.1",
-    "@tarojs/plugin-http": "^4.1.1",
+    "@tarojs/plugin-http": "4.1.1",
     "@tarojs/plugin-platform-alipay": "4.1.1",
     "@tarojs/plugin-platform-h5": "4.1.1",
     "@tarojs/plugin-platform-harmony-hybrid": "4.1.1",