未验证 提交 7feee5b3 编写于 作者: 杨智敏 提交者: Gitee

update docs/uniCloud/uni-config-center.md.

const 关键词定义后不可改变和重复定义
上级 d88e6b4c
......@@ -72,7 +72,7 @@ const createConfig = require('uni-config-center')
const userUtilsConfig = createConfig({ // 获取配置实例
pluginId: 'user-utils' // common/uni-config-center下的配置目录名
})
const userUtilsConfig = userUtilsConfig.config() // 获取common/uni-config-center/user-utils/config.json的内容
const Config = userUtilsConfig.config() // 获取common/uni-config-center/user-utils/config.json的内容
exports.main = async function(event, context) {
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册