修复:修改init初始化失败提示

This commit is contained in:
2025-12-03 11:28:18 +08:00
parent 98738a494f
commit e61ceaf5f3
4 changed files with 13 additions and 2 deletions

View File

@@ -224,6 +224,10 @@
// 初始化成功
} else {
console.log('init失败了');
uni.showToast({
title: '设备上无法使用计费服务',
icon: 'fail'
})
// 初始化失败
isConnected.value = false;
}