chore: remove object spead (#8514)

This commit is contained in:
neverland
2021-04-12 20:57:24 +08:00
committed by GitHub
parent 0b764b6347
commit 9deca34d1d
41 changed files with 204 additions and 241 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
import { PropType, defineComponent } from 'vue';
// Utils
import { createNamespace } from '../utils';
import { createNamespace, extend } from '../utils';
// Components
import { Tag } from '../tag';
@@ -102,7 +102,7 @@ export default defineComponent({
border={false}
valueClass={bem('value')}
/>
{slots.bottom?.({ ...props.address, disabled })}
{slots.bottom?.(extend({}, props.address, { disabled }))}
</div>
);
};