feat: 更新Type类型

This commit is contained in:
a876691666
2022-11-27 11:40:00 +08:00
parent 8230757bd1
commit 02ec3c78d6
11 changed files with 36 additions and 26 deletions
@@ -152,9 +152,9 @@ const sendHandle = async () => {
id: fetchRouteParamsLocation(),
// 反过来
state: release.value ? -1 : 1,
})) as unknown as MyResponseType
}))
if (res.code === ResultEnum.SUCCESS) {
if (res && res.code === ResultEnum.SUCCESS) {
modelShowHandle()
if (!release.value) {
copyPreviewPath('发布成功!已复制地址到剪贴板~', '发布成功!')