Skip to content

Commit

Permalink
fix(site): change logo and back url of mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
BeADre committed Apr 19, 2021
1 parent 56cc7bf commit 2709c6c
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 32 deletions.
2 changes: 1 addition & 1 deletion packages/varlet-cli/site/mobile/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export default defineComponent({
isPhone.value = /Android|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent)
const toHome = () => {
router.go(-1)
router.push('/home')
}
watch(
Expand Down
58 changes: 29 additions & 29 deletions packages/varlet-cli/site/mobile/mobile.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/varlet-cli/site/site.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@
"mobile": {
"title": "Varlet 面向Vue3的Material风格移动端组件库",
"description": "Varlet 面向Vue3的Material风格移动端组件库",
"logo": "https://cn.vuejs.org/images/logo.png",
"logo": "https://varlet.gitee.io/varlet-ui/varlet_icon.png",
"redirect": "/home"
},
"name": "Varlet"
Expand Down
2 changes: 1 addition & 1 deletion packages/varlet-ui/varlet.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ module.exports = {
mobile: {
title: 'Varlet 面向Vue3的Material风格移动端组件库',
description: 'Varlet 面向Vue3的Material风格移动端组件库',
logo: 'https://cn.vuejs.org/images/logo.png',
logo: 'https://varlet.gitee.io/varlet-ui/varlet_icon.png',
redirect: '/home',
},
}

0 comments on commit 2709c6c

Please sign in to comment.