Browse Source

update dashboard

pull/288/head
yedf2 4 years ago
parent
commit
fa8ad16b3c
  1. 3
      dashboard/src/layout/aside.vue
  2. 2
      dtmsvr/entry/main.go

3
dashboard/src/layout/aside.vue

@ -4,6 +4,7 @@
<Sidebar /> <Sidebar />
</a-layout-sider> </a-layout-sider>
<a-layout style="padding: 0 24px 24px"> <a-layout style="padding: 0 24px 24px">
<!-- <div style="color:#f00"> !!! local start mode, dashboard is served from en.dtm.pub. version may not match your dtm </div> -->
<a-breadcrumb style="margin: 16px 0"> <a-breadcrumb style="margin: 16px 0">
<a-breadcrumb-item>{{ mainNav }}</a-breadcrumb-item> <a-breadcrumb-item>{{ mainNav }}</a-breadcrumb-item>
<a-breadcrumb-item>{{ subNav }}</a-breadcrumb-item> <a-breadcrumb-item>{{ subNav }}</a-breadcrumb-item>
@ -56,7 +57,7 @@ const page = computed(() => {
page = vv.meta.title page = vv.meta.title
} }
}) })
}) })
return page return page
}) })

2
dtmsvr/entry/main.go

@ -16,7 +16,7 @@ import (
func ver(version *string) { func ver(version *string) {
if *version == "" { if *version == "" {
*version = "0.0.0-dev" *version = "v0.0.0-dev"
} }
fmt.Printf("dtm version: %s\n", *version) fmt.Printf("dtm version: %s\n", *version)
} }

Loading…
Cancel
Save