style: breadcrumb
parent
6c167c26af
commit
c5e99040b3
|
@ -66,9 +66,9 @@ export default defineComponent({
|
|||
return path;
|
||||
};
|
||||
|
||||
const addChildPath = (paths: string[], childPath = '', params: unknown) => {
|
||||
const addChildPath = (paths: string[], childPath: string, params: unknown) => {
|
||||
const originalPaths = [...paths];
|
||||
const path = getPath(childPath, params);
|
||||
const path = getPath(childPath || '', params);
|
||||
if (path) {
|
||||
originalPaths.push(path);
|
||||
}
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
a {
|
||||
color: @breadcrumb-link-color;
|
||||
transition: color 0.3s;
|
||||
|
||||
&:hover {
|
||||
color: @breadcrumb-link-color-hover;
|
||||
}
|
||||
|
@ -23,6 +24,7 @@
|
|||
|
||||
& > span:last-child {
|
||||
color: @breadcrumb-last-item-color;
|
||||
|
||||
a {
|
||||
color: @breadcrumb-last-item-color;
|
||||
}
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
import '../../style/index.less';
|
||||
import './index.less';
|
||||
|
||||
// style dependencies
|
||||
import '../../menu/style';
|
||||
import '../../dropdown/style';
|
Loading…
Reference in New Issue