mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-08-28 05:39:34 +08:00
perf: code style
This commit is contained in:
@@ -53,8 +53,6 @@ export default defineComponent({
|
||||
}
|
||||
};
|
||||
|
||||
watch(() => props.icon, update, { flush: 'post' });
|
||||
|
||||
const wrapStyleRef = computed((): any => {
|
||||
const { size, color } = props;
|
||||
let fs = size;
|
||||
@@ -68,6 +66,7 @@ export default defineComponent({
|
||||
};
|
||||
});
|
||||
|
||||
watch(() => props.icon, update, { flush: 'post' });
|
||||
onMounted(update);
|
||||
|
||||
return () => (
|
||||
|
Reference in New Issue
Block a user