diff --git a/pages/toRegister/toRegister.js b/pages/toRegister/toRegister.js index 74f13f0..04a45a7 100644 --- a/pages/toRegister/toRegister.js +++ b/pages/toRegister/toRegister.js @@ -21,7 +21,7 @@ Page({ // } // }) let that = this - const versionNum = "1.5.0" + const versionNum = "1.5.1" api.getScanSwitch(versionNum).then(function (res) { console.log(res.data) let state = res.data.scanFlag diff --git a/project.config.json b/project.config.json index 62829b2..60f8cc5 100644 --- a/project.config.json +++ b/project.config.json @@ -18,6 +18,8 @@ "checkSiteMap": true, "uploadWithSourceMap": true, "compileHotReLoad": false, + "useMultiFrameRuntime": false, + "useApiHook": true, "babelSetting": { "ignore": [], "disablePlugins": [], @@ -27,9 +29,7 @@ "useCompilerModule": true, "userConfirmedUseCompilerModuleSwitch": false, "packNpmManually": false, - "packNpmRelationList": [], - "useMultiFrameRuntime": false, - "useApiHook": true + "packNpmRelationList": [] }, "compileType": "miniprogram", "libVersion": "2.8.2",