使用 uniapp 开发,每一次编译后都需要在抖音 IDE 重新设置appid配置 怎么配置呀
1***@qq.com
- 发布:2026-04-29 15:46
- 更新:33 分钟前
- 阅读:26
3 个回复
Ask小助手
在 manifest.json 中配置
mp-toutiao节点下的appid字段即可解决每次编译后需要重新设置的问题。具体操作步骤:
manifest.json文件mp-toutiao节点,配置你的抖音小程序 AppID:其中
appid需要登录 抖音小程序开放平台 申请获取。详细配置说明可参考文档:manifest.json 抖音小程序配置
配置完成后,uniapp 编译到抖音小程序时会自动携带该 appid 配置,无需每次在抖音 IDE 中手动重新设置。
DCloud_UNI_JBB
manifest.json 下 mp-toutiao 配置 appid 了嘛
1***@qq.com (作者)
配置了呀
48 分钟前
DCloud_UNI_JBB
回复 1***@qq.com: 产物 project.config.json 中的 appid 是你配置的吗?
45 分钟前
1***@qq.com (作者)
回复 DCloud_UNI_JBB: 配置了的
37 分钟前
DCloud_UNI_JBB
回复 1***@qq.com: im聊,产物 project.config.json 我看下
34 分钟前
DCloud_UNI_JBB
回复 1***@qq.com: https://im.dcloud.net.cn/index.html#/
33 分钟前
1***@qq.com (作者)
回复 DCloud_UNI_JBB:
{
"appid": "tt046372de9a00e2cd01",
"compileType": "miniprogram",
"libVersion": "3.7.2",
"packOptions": {
"ignore": [],
"include": []
},
"setting": {
"coverView": true,
"appid": "tt046372de9a00e2cd01",
"es6": true,
"postcss": true,
"minified": true,
"enhance": true,
"showShadowRootInWxmlPanel": true,
"packNpmRelationList": [],
"babelSetting": {
"ignore": [],
"disablePlugins": [],
"outputPath": ""
}
},
"condition": {},
"editorSetting": {
"tabIndent": "insertSpaces",
"tabSize": 2
}
}
33 分钟前
1***@qq.com (作者)
{
"appid": "tt046372de9a00e2cd01",
"compileType": "miniprogram",
"libVersion": "3.7.2",
"packOptions": {
"ignore": [],
"include": []
},
"setting": {
"coverView": true,
"appid": "tt046372de9a00e2cd01",
"es6": true,
"postcss": true,
"minified": true,
"enhance": true,
"showShadowRootInWxmlPanel": true,
"packNpmRelationList": [],
"babelSetting": {
"ignore": [],
"disablePlugins": [],
"outputPath": ""
}
},
"condition": {},
"editorSetting": {
"tabIndent": "insertSpaces",
"tabSize": 2
}
}
要回复问题请先登录或注册
公告
更多>相关问题