Skip to content

Commit

Permalink
fix(pop-confirm-button): fix responsive failure #246
Browse files Browse the repository at this point in the history
  • Loading branch information
anncwb committed Feb 6, 2021
1 parent 9b6f37c commit c57dea0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/Button/src/PopConfirmButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import { useI18n } from '/@/hooks/web/useI18n';
import { extendSlots } from '/@/utils/helper/tsxHelper';
import { omit } from 'lodash-es';
import { useAttrs } from '/@/hooks/core/useAttrs';
export default defineComponent({
name: 'PopButton',
Expand All @@ -18,8 +19,9 @@
okText: propTypes.string,
cancelText: propTypes.string,
},
setup(props, { slots, attrs }) {
setup(props, { slots }) {
const { t } = useI18n();
const attrs = useAttrs();
const getBindValues = computed(() => {
const popValues = Object.assign(
Expand Down

0 comments on commit c57dea0

Please sign in to comment.