Skip to content

Commit

Permalink
change title
Browse files Browse the repository at this point in the history
  • Loading branch information
lazytiger committed Jan 18, 2024
1 parent fbe4065 commit 3825a79
Show file tree
Hide file tree
Showing 4 changed files with 56 additions and 63 deletions.
105 changes: 48 additions & 57 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ lazy_static = "1.4"
derive_more = "0.99"
libloading = "0.8"
crossbeam = "0.8"
trust-dns-proto = "0.23.2"
trust-dns-proto = "0.23"
widestring = "1.0"
itertools = "0.12.0"
itertools = "0.12"
smoltcp = { version = "0.11" }
backtrace = "0.3"
hex = "0.4"
Expand Down
8 changes: 5 additions & 3 deletions mobile2/frontend/src/layouts/default/Default.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@
<v-app>
<v-dialog v-model="store.showDialog" width="auto">
<v-card>
<v-card-text>{{store.errorMessage}}</v-card-text>
<v-card-text>{{ store.errorMessage }}</v-card-text>
<v-card-actions>
<v-btn color="primary" block @click="hideDialog">确认</v-btn>
<v-btn block color="primary" @click="hideDialog">确认</v-btn>
</v-card-actions>
</v-card>
</v-dialog>
<default-bar/>
<default-view/>
<v-bottom-navigation bg-color="blue" class="centered-toolbar">
<v-btn @click="router.push('/')">
<span>主页</span>
<span>设置</span>
</v-btn>
<v-btn @click="router.push('/domain')">
<span>域名</span>
Expand All @@ -26,7 +26,9 @@ import DefaultBar from './AppBar.vue'
import DefaultView from './View.vue'
import router from "@/router"
import {useAppStore} from "@/store/app";
let store = useAppStore();
function hideDialog() {
store.showDialog = false
store.errorMessage = ""
Expand Down
2 changes: 1 addition & 1 deletion mobile2/frontend/src/views/Home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ import {useAppStore} from "@/store/app";
let store = useAppStore();
onMounted(() => {
store.title = "主页"
store.title = "设置"
})
</script>

0 comments on commit 3825a79

Please sign in to comment.