mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2025-02-01 16:05:53 +00:00
修复上传面板图后,再上传照片仍会上传为面板图bug
Signed-off-by: ChallengerV <245646299@qq.com>
This commit is contained in:
parent
f1bf5f7c1d
commit
d785b6649e
@ -24,6 +24,8 @@ export async function uploadCharacterImg (e) {
|
|||||||
if (msg.includes('面板')) {
|
if (msg.includes('面板')) {
|
||||||
isProfile = true
|
isProfile = true
|
||||||
regRet = profileRegex.exec(msg)
|
regRet = profileRegex.exec(msg)
|
||||||
|
} else {
|
||||||
|
isProfile = false
|
||||||
}
|
}
|
||||||
|
|
||||||
// 通过解析正则获取消息中的角色名
|
// 通过解析正则获取消息中的角色名
|
||||||
|
Loading…
Reference in New Issue
Block a user