Use named slot translation when has multi-slot

This commit is contained in:
zsxeee
2021-09-30 19:48:24 +08:00
parent 138ddf5608
commit 0f2059cde0
3 changed files with 32 additions and 30 deletions

View File

@@ -18,8 +18,10 @@
<div class="form-text">
<p>"application/json" is good for any modern http servers such as express.js</p>
<i18n-t tag="p" keypath="webhookFormDataDesc">
"multipart/form-data"
<strong>json_decode($_POST['data'])</strong>
<template #multipart>"multipart/form-data"</template>
<template #decodeFunction>
<strong>json_decode($_POST['data'])</strong>
</template>
</i18n-t>
</div>
</div>