mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-01-24 02:00:25 +08:00
fix(pop-confirm-button): fix responsive failure #246
This commit is contained in:
parent
9b6f37caef
commit
c57dea0438
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user