mirror of
https://github.com/youzan/vant.git
synced 2025-10-19 18:14:13 +00:00
feat(cli): improve nav route
This commit is contained in:
@@ -32,11 +32,8 @@ export default {
|
||||
},
|
||||
|
||||
props: {
|
||||
navConfig: Array,
|
||||
base: {
|
||||
type: String,
|
||||
default: ''
|
||||
}
|
||||
lang: String,
|
||||
navConfig: Array
|
||||
},
|
||||
|
||||
data() {
|
||||
@@ -52,6 +49,10 @@ export default {
|
||||
top: this.top + 'px',
|
||||
bottom: this.bottom + 'px'
|
||||
};
|
||||
},
|
||||
|
||||
base() {
|
||||
return this.lang ? `/${this.lang}` : '';
|
||||
}
|
||||
},
|
||||
|
||||
|
Reference in New Issue
Block a user