|
|
@@ -1718,6 +1718,8 @@ const fetchProjectConfig = async () => {
|
|
|
})
|
|
|
if (res && res.length > 0) {
|
|
|
projectConfig.value = res[0]
|
|
|
+ } else {
|
|
|
+ projectConfig.value = {}
|
|
|
}
|
|
|
} catch (error) {
|
|
|
console.error('获取项目配置失败:', error)
|
|
|
@@ -1737,13 +1739,13 @@ const handleMiniProgramPush = async () => {
|
|
|
miniProgramPushDialogVisible.value = true
|
|
|
} else {
|
|
|
// 不需要签名,直接推送
|
|
|
- ElMessageBox.confirm('确定要进行小程序推送吗?', '提示', {
|
|
|
- confirmButtonText: '确定',
|
|
|
- cancelButtonText: '取消',
|
|
|
- type: 'warning'
|
|
|
- }).then(() => {
|
|
|
- executeMiniProgramPush()
|
|
|
- }).catch(() => {})
|
|
|
+ // ElMessageBox.confirm('确定要进行小程序推送吗?', '提示', {
|
|
|
+ // confirmButtonText: '确定',
|
|
|
+ // cancelButtonText: '取消',
|
|
|
+ // type: 'warning'
|
|
|
+ // }).then(() => {
|
|
|
+ // executeMiniProgramPush()
|
|
|
+ // }).catch(() => {})
|
|
|
}
|
|
|
}
|
|
|
|