Open little3201 opened 3 years ago
do with doc , svg sprite,
users
pocket
<a class="flex items-center mr-3 text-green-600" href="javascript:;" @click.prevent="treeOperate(true, 'group')" > <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" class="mr-2" > <use xlink:href="/svg/feather-sprite.svg#users" /> </svg> Groups </a> <a class="flex items-center mr-3 text-yellow-600" href="javascript:;" @click.prevent="treeOperate(true, 'role')" > <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" class="mr-2" > <use xlink:href="/svg/feather-sprite.svg#pocket" /> </svg> Roles </a>
no error message, but after render, the key of the icon is empty
Prerequisites
Step to reproduce
do with doc , svg sprite,
users
is rendered but thepocket
isn't rendering correctly which seems a encoding problemActual behavior
pocket
is displayedAny message or error
no error message, but after render, the key of the icon is empty
Resources