[Improvement] Progress: support gradient color (#1098)
This commit is contained in:
@@ -33,6 +33,7 @@ Locale.add({
|
||||
red: '红色',
|
||||
orange: '橙色',
|
||||
yellow: '黄色',
|
||||
purple: '紫色',
|
||||
tab: '标签',
|
||||
tag: '标签',
|
||||
desc: '描述信息',
|
||||
@@ -60,6 +61,7 @@ Locale.add({
|
||||
red: 'Red',
|
||||
orange: 'Orange',
|
||||
yellow: 'Yellow',
|
||||
purple: 'Purple',
|
||||
tab: 'Tab',
|
||||
tag: 'Tag',
|
||||
desc: 'Description',
|
||||
|
||||
+1
-1
@@ -16,7 +16,7 @@ const router = new VueRouter({
|
||||
|
||||
router.beforeEach((route, redirect, next) => {
|
||||
if (isMobile) {
|
||||
location.replace('/zanui/vant/examples' + location.hash);
|
||||
location.replace(location.pathname === '/' ? 'examples.html' : '/zanui/vant/examples' + location.hash);
|
||||
}
|
||||
document.title = route.meta.title || document.title;
|
||||
next();
|
||||
|
||||
Reference in New Issue
Block a user