improve:上传后的url使用可复制的url
This commit is contained in:
parent
28e24390a4
commit
fc148ee2a0
|
@ -21,19 +21,19 @@
|
||||||
<div class="w-full mb-2">
|
<div class="w-full mb-2">
|
||||||
<label for="htmlLink" class="block text-sm font-medium text-gray-700"> HTML </label>
|
<label for="htmlLink" class="block text-sm font-medium text-gray-700"> HTML </label>
|
||||||
<div class="mt-1">
|
<div class="mt-1">
|
||||||
<input id="htmlLink" :value="htmlLink(it.url, it.filename)" name="htmlLink" class="cursor-pointer focus:node border border-gray-300 flex-1 block w-full rounded-md px-2 py-1" readonly placeholder="html link" @click="copyLink" />
|
<input id="htmlLink" :value="htmlLink(it.copyUrl, it.filename)" name="htmlLink" class="cursor-pointer focus:node border border-gray-300 flex-1 block w-full rounded-md px-2 py-1" readonly placeholder="html link" @click="copyLink" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="w-full mb-2">
|
<div class="w-full mb-2">
|
||||||
<label for="Markdown" class="block text-sm font-medium text-gray-700"> Markdown </label>
|
<label for="Markdown" class="block text-sm font-medium text-gray-700"> Markdown </label>
|
||||||
<div class="mt-1">
|
<div class="mt-1">
|
||||||
<input id="Markdown" :value="markdownLink(it.url, it.filename)" name="Markdown" class="cursor-pointer focus:none border border-gray-300 flex-1 block w-full rounded-md px-2 py-1" readonly placeholder="markdown link" @click="copyLink" />
|
<input id="Markdown" :value="markdownLink(it.copyUrl, it.filename)" name="Markdown" class="cursor-pointer focus:none border border-gray-300 flex-1 block w-full rounded-md px-2 py-1" readonly placeholder="markdown link" @click="copyLink" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="w-full mb-2">
|
<div class="w-full mb-2">
|
||||||
<label for="LINK" class="block text-sm font-medium text-gray-700"> LINK </label>
|
<label for="LINK" class="block text-sm font-medium text-gray-700"> LINK </label>
|
||||||
<div class="mt-1">
|
<div class="mt-1">
|
||||||
<input id="LINK" :value="it.url" name="LINK" class="cursor-pointer focus:none border border-gray-300 flex-1 block w-full rounded-md px-2 py-1" placeholder="link" @click="copyLink" readonly />
|
<input id="LINK" :value="it.copyUrl" name="LINK" class="cursor-pointer focus:none border border-gray-300 flex-1 block w-full rounded-md px-2 py-1" placeholder="link" @click="copyLink" readonly />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue