提交 c57dea04 作者: vben

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

上级 9b6f37ca
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
import { useI18n } from '/@/hooks/web/useI18n'; import { useI18n } from '/@/hooks/web/useI18n';
import { extendSlots } from '/@/utils/helper/tsxHelper'; import { extendSlots } from '/@/utils/helper/tsxHelper';
import { omit } from 'lodash-es'; import { omit } from 'lodash-es';
import { useAttrs } from '/@/hooks/core/useAttrs';
export default defineComponent({ export default defineComponent({
name: 'PopButton', name: 'PopButton',
...@@ -18,8 +19,9 @@ ...@@ -18,8 +19,9 @@
okText: propTypes.string, okText: propTypes.string,
cancelText: propTypes.string, cancelText: propTypes.string,
}, },
setup(props, { slots, attrs }) { setup(props, { slots }) {
const { t } = useI18n(); const { t } = useI18n();
const attrs = useAttrs();
const getBindValues = computed(() => { const getBindValues = computed(() => {
const popValues = Object.assign( const popValues = Object.assign(
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论