fix: auto fill apiURL when platform changed for ApiKey add page

This commit is contained in:
RockYang 2024-01-23 17:30:54 +08:00
parent a992a5b3b3
commit ec08c24dca
2 changed files with 4 additions and 3 deletions

View File

@ -11,6 +11,7 @@
* 功能优化新增虎皮椒和PayJS订单状态校验功能增加安全性 * 功能优化新增虎皮椒和PayJS订单状态校验功能增加安全性
* Bug修复修复微信转账交易 ID 提取失败 Bug * Bug修复修复微信转账交易 ID 提取失败 Bug
* 功能优化:给所有的 websocket 连接加上心跳,解决 "close 1006 (abnormal closure): unexpected EOF" Bug * 功能优化:给所有的 websocket 连接加上心跳,解决 "close 1006 (abnormal closure): unexpected EOF" Bug
* 功能新增:新增短信宝短信平台发送平台集成
## v3.2.5 ## v3.2.5

View File

@ -261,10 +261,10 @@ const changePlatform = () => {
} }
} }
if (platform !== null) { if (platform !== null) {
if (item.value.type === "chat") { if (item.value.type === "img" && platform.img_url) {
item.value.api_url = platform.api_url
} else if (platform.img_url) {
item.value.api_url = platform.img_url item.value.api_url = platform.img_url
} else {
item.value.api_url = platform.api_url
} }
} }