Skip to content

Commit

Permalink
fix(Popup): update className (#947)
Browse files Browse the repository at this point in the history
* fix(Popup): update className

* test: fix

* chore: update _common
  • Loading branch information
anlyyao authored Jul 12, 2023
1 parent 04f2ba9 commit 3ca95c7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/popup/popup.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import { getAttach } from '../shared/dom';
const { prefix } = config;
const name = `${prefix}-popup`;
const bodyLockClass = `${prefix}-overflow-hidden`;
const bodyLockClass = `${name}-overflow-hidden`;
export default defineComponent({
name,
Expand Down
2 changes: 1 addition & 1 deletion src/toast/__test__/index.test.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { LoadingIcon } from 'tdesign-icons-vue-next';

import config from '../../config';
const { prefix } = config;
const bodyLockClass = `${prefix}-overflow-hidden`;
const bodyLockClass = `${prefix}-toast-overflow-hidden`;

describe('Toast', () => {
describe('props', () => {
Expand Down
2 changes: 1 addition & 1 deletion src/toast/toast.vue
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import config from '../config';
const { prefix } = config;
const name = `${prefix}-toast`;
const bodyLockClass = `${prefix}-overflow-hidden`;
const bodyLockClass = `${name}-overflow-hidden`;
export default defineComponent({
name,
Expand Down

0 comments on commit 3ca95c7

Please sign in to comment.