Skip to content

Commit

Permalink
feat: 增加车牌键入组件-修改图片引入方式
Browse files Browse the repository at this point in the history
  • Loading branch information
weishuodan committed Nov 16, 2023
1 parent 44a5261 commit 76d86cc
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
File renamed without changes
4 changes: 2 additions & 2 deletions components/license-plate-keyboard/key-board-view.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
disabled: item.disabled
}"
>
<img v-if="item.imgUrl" :src="item.imgUrl"/>
<div v-if="item.text">{{ item.text }}</div>
<img v-if="item.type === 'delete'" src="./assets/close.png"/>
<div v-if="item.type === 'confirm' && item.text">{{ item.text }}</div>
</div>
</template>
<template v-else>
Expand Down
1 change: 0 additions & 1 deletion components/license-plate/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,6 @@ export default {
// 删除键
letterData.splice(19, 0, {
type: 'delete',
imgUrl: require('./assets/close.png'),
disabled: false,
})
// 确定键
Expand Down

0 comments on commit 76d86cc

Please sign in to comment.