[Vuejs]-How do I insert an element into the header of an antdv a-drawer

0👍

If the title attribute is present in the <a-drawer> tag properties, the slot will not take effect. You need to remove the title attribute.

and, To use the slot, you should not use slot="title", but instead use:

<template v-slot:title>

Or

<template #title>

Leave a comment