(key: string)
| 199 | }; |
| 200 | |
| 201 | const handleChangeTab = async (key: string) => { |
| 202 | const path = currentTabs.value.find((tab) => tab.key === key)?.path || ""; |
| 203 | activeTab.value = key; |
| 204 | updateBreadcrumbs(path); |
| 205 | |
| 206 | spinning.value = true; |
| 207 | operationForm.value.name = ""; |
| 208 | operationForm.value.current = 1; |
| 209 | await getFileList(); |
| 210 | spinning.value = false; |
| 211 | }; |
| 212 | |
| 213 | const parsePath = (path: string) => { |
| 214 | if (!path) return []; |
no test coverage detected