设备列表,设备绑定,删除,修改设备名
This commit is contained in:
@ -23,7 +23,8 @@
|
||||
{{ rightText }}
|
||||
</text>
|
||||
<!-- 或显示图标 -->
|
||||
<image v-if="rightIcon" @click="handleRightClick" src="/static/images/path.png" mode="" class="pathIMG">
|
||||
<image v-if="rightIcon" :src="rightIcon" @click="handleRightClick" mode=""
|
||||
class="pathIMG">
|
||||
</image>
|
||||
</slot>
|
||||
</view>
|
||||
@ -49,8 +50,8 @@
|
||||
},
|
||||
rightText: String, // 右侧文字
|
||||
rightIcon: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
type: String, // 改为 String 类型,接收图片路径
|
||||
default: '' // 默认空字符串
|
||||
},
|
||||
rightColor: { // 右侧内容颜色
|
||||
type: String,
|
||||
|
Reference in New Issue
Block a user