|
@@ -65,7 +65,7 @@ getNavData();
|
|
|
|
|
|
const getActive = (item) => {
|
|
const getActive = (item) => {
|
|
item = JSON.parse(item.data.replace(/"/g, '"'));
|
|
item = JSON.parse(item.data.replace(/"/g, '"'));
|
|
- return item.link_type === 'url' && routePath.value === quillEscapeToHtml(item.link_value)
|
|
|
|
|
|
+ return item.link_type === 'url' && routePath.value !== '/' && routePath.value.includes(quillEscapeToHtml(item.link_value))
|
|
}
|
|
}
|
|
|
|
|
|
const navClick = (e, val) => {
|
|
const navClick = (e, val) => {
|