fix: set dropdown for the Tab widget, init instance relation selectors, update sankey graph (#79)

This commit is contained in:
Fine0830
2022-05-09 20:18:20 +08:00
committed by GitHub
parent d93a7cead2
commit 918b0551ad
5 changed files with 41 additions and 60 deletions

View File

@@ -118,7 +118,7 @@ const theme = ["VirtualMachine", "Kubernetes"].includes(name.value || "")
? ref("light")
: ref("black");
const routes = ref<any>(useRouter().options.routes);
if (/Android|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent)) {
if (/Android|webOS|iPhone|iPod|iPad|BlackBerry/i.test(navigator.userAgent)) {
appStore.setIsMobile(true);
} else {
appStore.setIsMobile(false);