Skip to content

Commit

Permalink
fix: optmize modal demo
Browse files Browse the repository at this point in the history
  • Loading branch information
James-9696 committed Feb 28, 2024
1 parent aea0e33 commit b7fbe47
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
import { Button as TinyButton, Modal } from '@opentiny/vue'
function btnClick() {
Modal.alert({ message: '不显示头部及底部', showHeader: false, showFooter: true })
Modal.alert({ message: '控制显示头部及底部', showHeader: false, showFooter: true })
}
</script>
2 changes: 1 addition & 1 deletion examples/sites/demos/pc/app/modal/show-header-footer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export default {
},
methods: {
btnClick() {
Modal.alert({ message: '不显示头部及底部', showHeader: false, showFooter: true })
Modal.alert({ message: '控制显示头部及底部', showHeader: false, showFooter: true })
}
}
}
Expand Down

0 comments on commit b7fbe47

Please sign in to comment.