index.6c05eafd.js 1.3 KB

12
  1. import{L as c,a2 as u,al as a,o as i,a as _,Z as t,T as n,u as V,X as f}from"./vue.e1d8f8c6.js";import{c as v}from"./commonFunction.9198e050.js";import{_ as x}from"./index.5ec7a9d7.js";import"./formatTime.29ac8c52.js";const b={class:"layout-pd"},h=c({name:"funClipboard"}),y=c({...h,setup(w){const{copyText:r}=v(),o=u({copyVal:"https://gitee.com/lyt-top/vue-next-admin",shearVal:""});return(C,e)=>{const p=a("el-alert"),d=a("el-button"),s=a("el-input"),m=a("el-card");return i(),_("div",b,[t(m,{shadow:"hover",header:"复制剪切演示"},{default:n(()=>[t(p,{title:"感谢优秀的 `vue-clipboard3`,项目地址:https://github.com/JamieCurnow/vue-clipboard3`",type:"success",closable:!1,class:"mb15"}),t(s,{placeholder:"请输入内容",modelValue:o.copyVal,"onUpdate:modelValue":e[1]||(e[1]=l=>o.copyVal=l)},{append:n(()=>[t(d,{onClick:e[0]||(e[0]=l=>V(r)(o.copyVal))},{default:n(()=>[f("复制链接")]),_:1})]),_:1},8,["modelValue"]),t(s,{placeholder:"先点击上方 `复制链接` 按钮,然后 `Ctrl + V` 进行粘贴! ",modelValue:o.shearVal,"onUpdate:modelValue":e[2]||(e[2]=l=>o.shearVal=l),class:"mt15"},null,8,["modelValue"])]),_:1})])}}}),E=x(y,[["__file","E:/code/wwwroot/local81.lzj/simple_storage/vue-next-admin/src/views/fun/clipboard/index.vue"]]);export{E as default};