chore(diy-image-nav): add component identity data attribute
给自定义图片导航组件添加data-component-name标识属性,用于识别组件身份
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user