Skip to content
This repository was archived by the owner on Oct 27, 2021. It is now read-only.

Commit

Permalink
fix(AtModal): Button 改为 AtButton
Browse files Browse the repository at this point in the history
pengshanglong authored and psaren committed Jul 29, 2020

Verified

This commit was signed with the committer’s verified signature. The key has expired.
marekmosna Marek Mosna
1 parent 8f5615e commit 84c803e
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions packages/taro-ui-vue/src/components/modal/index.vue
Original file line number Diff line number Diff line change
@@ -22,20 +22,20 @@
</view>
</ModalContent>
<ModalAction v-if="cancelText || confirmText" isSimple>
<Button
<AtButton
v-if="cancelText"
@tap="handleCancel"
@click="handleCancel"
>
{{ cancelText }}
</Button>
<Button
</AtButton>
<AtButton
v-if="confirmText"
@tap="handleConfirm"
@click="handleConfirm"
>
{{ confirmText }}
</Button>
</AtButton>
</ModalAction>
</view>
</view>
@@ -52,14 +52,16 @@
import ModalAction from './action/index.vue'
import ModalContent from './content/index.vue'
import ModalHeader from './header/index.vue'
import AtButton from '../button/index.vue'
import AtModal from './index'
export default {
name: 'AtModal',
mixins: [AtModal],
components: {
ModalAction,
ModalContent,
ModalHeader
ModalHeader,
AtButton
}
}
</script>

0 comments on commit 84c803e

Please sign in to comment.