"use strict";(self["webpackChunkscui"]=self["webpackChunkscui"]||[]).push([[5285],{68320:function(e,a,t){t.r(a),t.d(a,{default:function(){return u}});var r=t(66252);const s=(0,r.Uk)("创建水印"),l=(0,r.Uk)("移除水印");function d(e,a,t,d,n,o){const m=(0,r.up)("el-table-column"),u=(0,r.up)("el-table"),c=(0,r.up)("sc-water-mark"),i=(0,r.up)("el-card"),p=(0,r.up)("el-button"),w=(0,r.up)("el-main");return(0,r.wg)(),(0,r.j4)(w,null,{default:(0,r.w5)((()=>[(0,r.Wm)(i,{shadow:"never"},{default:(0,r.w5)((()=>[(0,r.Wm)(c,{ref:"wm",text:"欢迎体验SCUI",subtext:"admin@scui.com"},{default:(0,r.w5)((()=>[(0,r.Wm)(u,{data:n.tableData,border:"",stripe:"",style:{width:"100%"}},{default:(0,r.w5)((()=>[(0,r.Wm)(m,{prop:"date",label:"Date",width:"180"}),(0,r.Wm)(m,{prop:"name",label:"Name",width:"180"}),(0,r.Wm)(m,{prop:"address",label:"Address"})])),_:1},8,["data"])])),_:1},512)])),_:1}),(0,r.Wm)(i,{shadow:"never",style:{"margin-top":"15px"}},{default:(0,r.w5)((()=>[(0,r.Wm)(p,{type:"primary",onClick:o.create},{default:(0,r.w5)((()=>[s])),_:1},8,["onClick"]),(0,r.Wm)(p,{type:"primary",onClick:o.clear},{default:(0,r.w5)((()=>[l])),_:1},8,["onClick"])])),_:1})])),_:1})}var n={name:"watermark",data(){return{tableData:[{date:"2016-05-03",name:"Tom",address:"No. 189, Grove St, Los Angeles"},{date:"2016-05-02",name:"Tom",address:"No. 189, Grove St, Los Angeles"},{date:"2016-05-04",name:"Tom",address:"No. 189, Grove St, Los Angeles"},{date:"2016-05-01",name:"Tom",address:"No. 189, Grove St, Los Angeles"}]}},mounted(){},methods:{create(){this.$refs.wm.create()},clear(){this.$refs.wm.clear()}}},o=t(83744);const m=(0,o.Z)(n,[["render",d]]);var u=m}}]);