提交 c57dea04 编写于 作者: V vben

fix(pop-confirm-button): fix responsive failure #246

上级 9b6f37ca
......@@ -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',
......@@ -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(
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册