- 使用ci上传代码时project.config.json没有被上传和使用开发者工具上传表现不同?
miniprogram-ci ^1.5.1 使用ci+jekins上传发现project.config.json的配置未生效,后打印上传过程发现project.config.json配置文件并未被上传, 使用微信开发者工具上传发现project.config.json生效,发现project.config.json文件上传成功,请问如何解决这个问题? { "name": "", "version": "0.1.0", "private": true, "scripts": { "serve": "npm run dev:h5", "dev:mp-weixin": "cross-env NODE_ENV=development UNI_PLATFORM=mp-weixin vue-cli-service uni-build --watch", "build:mp-weixin": "cross-env NODE_ENV=production UNI_PLATFORM=mp-weixin vue-cli-service uni-build", "build:app-plus": "cross-env NODE_ENV=production UNI_PLATFORM=app-plus vue-cli-service uni-build" }, "dependencies": { "@dcloudio/uni-app-plus": "^2.0.0-31920210609001", "@dcloudio/uni-h5": "^2.0.0-31920210609001", "@dcloudio/uni-helper-json": "^1.0.13", "@dcloudio/uni-i18n": "^2.0.0-31920210609001", "@dcloudio/uni-mp-360": "^2.0.0-31920210609001", "@dcloudio/uni-mp-alipay": "^2.0.0-31920210609001", "@dcloudio/uni-mp-baidu": "^2.0.0-31920210609001", "@dcloudio/uni-mp-kuaishou": "^2.0.0-31920210609001", "@dcloudio/uni-mp-qq": "^2.0.0-31920210609001", "@dcloudio/uni-mp-toutiao": "^2.0.0-31920210609001", "@dcloudio/uni-mp-vue": "^2.0.0-31920210609001", "@dcloudio/uni-mp-weixin": "^2.0.0-31920210609001", "@dcloudio/uni-quickapp-native": "^2.0.0-31920210609001", "@dcloudio/uni-quickapp-webview": "^2.0.0-31920210609001", "@dcloudio/uni-stat": "^2.0.0-31920210609001", "@vue/shared": "^3.0.0", "core-js": "^3.6.5", "cos-js-sdk-v5": "^1.2.14", "crypto-js": "^4.0.0", "flyio": "^0.6.2", "js-base64": "^2.6.4", "regenerator-runtime": "^0.12.1", "umtrack-wx": "^2.5.2", "vue": "^2.6.11", "vuex": "^3.2.0" }, "devDependencies": { "@babel/runtime": "~7.12.0", "@dcloudio/types": "*", "@dcloudio/uni-automator": "^2.0.0-31920210609001", "@dcloudio/uni-cli-shared": "^2.0.0-31920210609001", "@dcloudio/uni-migration": "^2.0.0-31920210609001", "@dcloudio/uni-template-compiler": "^2.0.0-31920210609001", "@dcloudio/vue-cli-plugin-hbuilderx": "^2.0.0-31920210609001", "@dcloudio/vue-cli-plugin-uni": "^2.0.0-31920210609001", "@dcloudio/vue-cli-plugin-uni-optimize": "^2.0.0-31920210609001", "@dcloudio/webpack-uni-mp-loader": "^2.0.0-31920210609001", "@dcloudio/webpack-uni-pages-loader": "^2.0.0-31920210609001", "@vue/babel-preset-app": "^4.5.13", "@vue/cli-plugin-babel": "~4.5.0", "@vue/cli-service": "~4.5.0", "babel-plugin-import": "^1.11.0", "cross-env": "^7.0.2", "jest": "^25.4.0", "less-loader": "^7.3.0", "mini-types": "*", "miniprogram-api-typings": "*", "miniprogram-ci": "^1.5.1", "postcss-comment": "^2.0.0", "sass": "^1.38.1", "sass-loader": "^8.0.2", "vue-template-compiler": "^2.6.11" }, "browserslist": [ "Android >= 4", "ios >= 8" ], "uni-app": { "scripts": {} } }
2021-09-06 - 可不可以获取微信用户的出生日期
微信开发能力中包不包含微信用户的出生日期等信息?
2019-01-08 - 为什么我的开发版小程序无法获取系统信息(有时可以有时不可以),体验版没有这个问题
为什么我的开发版小程序无法获取系统信息(有时可以有时不可以),体验版没有这个问题? 使用getSystemInfo时fail还会有error信息,而使用getSystemInfoSync完全不抛任何error,体验版和模拟机测试可以获取到系统信息。 是因为权限问题吗?我用的是三星手机真机调试 [图片] [图片]
2018-12-28