Commit c9b320bb authored by gengchunlei's avatar gengchunlei

Merge branch 'chronic-dev' of http://gitlab.yiboshi.com/nightkis1995/frontend-h5 into chronic-dev

 Conflicts:
	src/doctor/Doctor.vue
parents 5d5214fb 379055d1
...@@ -19,13 +19,21 @@ ...@@ -19,13 +19,21 @@
</template> </template>
<script> <script>
import { backHome } from '@/utils/common.js'
export default { export default {
name: 'DocNavBar', name: 'DocNavBar',
props: { props: {
title: String title: String,
// 是否首页
home: Boolean
}, },
methods: { methods: {
goBack() { goBack() {
if (this.home) {
backHome()
return
}
this.$router.back() this.$router.back()
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment