chore(diy-image-nav): add component identity data attribute

给自定义图片导航组件添加data-component-name标识属性,用于识别组件身份
This commit is contained in:
2026-07-10 18:18:21 +08:00
parent 575145eae9
commit 6eaebc7d75

View File

@@ -1,5 +1,5 @@
<template>
<view :style="componentStyle">
<view :style="componentStyle" data-component-name="diy-image-nav">
<scroll-view :class="['image-nav', value.showStyle == 'fixed' ? 'fixed-layout' : value.showStyle]"
:scroll-x="value.showStyle == 'singleSlide'">
<view class="uni-scroll-view-content">