Update DocPTViewer.vue

pull/6424/head
tugcekucukoglu 2024-09-17 12:09:24 +03:00
parent 3fbb6c0a26
commit 47a1d6af29
1 changed files with 1 additions and 0 deletions

View File

@ -32,6 +32,7 @@ export default {
cmpName = componentName; cmpName = componentName;
if (componentName === 'ConfirmDialog') cmpName = 'Dialog'; if (componentName === 'ConfirmDialog') cmpName = 'Dialog';
else if (componentName === 'ScrollTop') cmpName = 'Button';
if (item.label === 'root') selector = `[data-pc-name="${cmpName.toLowerCase()}"]`; if (item.label === 'root') selector = `[data-pc-name="${cmpName.toLowerCase()}"]`;
else if (item.label.startsWith('pc')) selector = `[data-pc-name="${item.label.toLowerCase()}"]`; else if (item.label.startsWith('pc')) selector = `[data-pc-name="${item.label.toLowerCase()}"]`;