mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-06-06 00:18:51 +08:00
perf: 优化ReSegmented
组件 (#1137)
This commit is contained in:
parent
3ca9a7b5bc
commit
5238ee7ad9
@ -127,7 +127,9 @@ export default defineComponent({
|
|||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
watch(() => props.size, handleResizeInit);
|
watch(() => props.size, handleResizeInit, {
|
||||||
|
immediate: true
|
||||||
|
});
|
||||||
|
|
||||||
const rendLabel = () => {
|
const rendLabel = () => {
|
||||||
return props.options.map((option, index) => {
|
return props.options.map((option, index) => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user