This commit is contained in:
哆啦好梦
2023-07-24 14:20:08 +08:00
parent dd8de62a4c
commit d6a5fe25b3
2 changed files with 36 additions and 8 deletions

View File

@@ -1,8 +1,22 @@
'use strict';
/*
* test
/**
* 开发环境配置,覆盖 config.default.js
*/
exports.testConfig = {
login: 'http://local.com/api/login',
module.exports = (appInfo) => {
const config = {};
/**
* 开发者工具
*/
config.openDevTools = true;
/**
* 应用程序顶部菜单
*/
config.openAppMenu = true;
return {
...config
};
};

View File

@@ -1,8 +1,22 @@
'use strict';
/*
* test
/**
* 生产环境配置,覆盖 config.default.js
*/
exports.testConfig = {
login: 'http://prod.com/api/login',
module.exports = (appInfo) => {
const config = {};
/**
* 开发者工具
*/
config.openDevTools = false;
/**
* 应用程序顶部菜单
*/
config.openAppMenu = false;
return {
...config
};
};