Update DocPTViewer.vue
parent
87ef5e95e1
commit
ab12b6b9d0
|
@ -37,7 +37,8 @@ export default {
|
||||||
else if (componentName === 'ScrollTop') cmpName = 'Button';
|
else if (componentName === 'ScrollTop') cmpName = 'Button';
|
||||||
else if (componentName === 'Galleria') cmpName = 'GalleriaContent';
|
else if (componentName === 'Galleria') cmpName = 'GalleriaContent';
|
||||||
|
|
||||||
if (item.label === 'root') selector = `[data-pc-name="${cmpName.toLowerCase()}"]`;
|
if (componentName === 'InputMask') selector = `[data-pc-extend="inputtext"][data-pc-section="root"]`;
|
||||||
|
else 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()}"]`;
|
||||||
else selector = `[data-pc-section="${item.label.toLowerCase()}"]`;
|
else selector = `[data-pc-section="${item.label.toLowerCase()}"]`;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue