import "./index.less"; import RightContent from "@/components/GlobalHeader/RightContent"; import BaseMenu from "@/components/SiderMenu/BaseMenu"; const TopNavHeader = { props: ["menuData", "logo", "theme", "contentWidth", "layout", "title"], computed: { maxWidth() { return ( (this.contentWidth === "Fixed" ? 1200 : window.innerWidth) - 330 - 165 - 4 - 36 ); }, }, render() { const { maxWidth, menuData, logo, theme = "dark", contentWidth = "Fixed", layout, title = "admin", } = this; return (