Commit 460a42bff2b4003c55e8bd07f45230dc934f4fbf
1 parent
bc307bdf
fix: camera manage split mode not set isTransform on fetch faild
Showing
1 changed file
with
5 additions
and
1 deletions
| ... | ... | @@ -120,7 +120,11 @@ |
| 120 | 120 | isTransform: true, |
| 121 | 121 | }; |
| 122 | 122 | } |
| 123 | - } catch (error) {} | |
| 123 | + } catch (error) { | |
| 124 | + } finally { | |
| 125 | + const index = unref(cameraList).findIndex((item) => item.id === record.id); | |
| 126 | + if (~index) unref(cameraList)[index].isTransform = true; | |
| 127 | + } | |
| 124 | 128 | } |
| 125 | 129 | }; |
| 126 | 130 | ... | ... |