Open LovelyAquarius opened 1 year ago
please add the support for {#custom-id} syntax
$('[data-v-md-line]').each((index, el) => { const id = $(el).data('v-md-line'); $(el).attr("id", `md-${id}`); });
用jquery添加
please add the support for {#custom-id} syntax