原材料入库
This commit is contained in:
1
deploy-qhmes/frontend/js/ImageElement-BzrzPgZR.js
Normal file
1
deploy-qhmes/frontend/js/ImageElement-BzrzPgZR.js
Normal file
@@ -0,0 +1 @@
|
||||
import{d as m,ar as r,as as o,e as c,aB as d}from"./vue-vendor-C7Zq48Yl.js";import{d as p}from"./index-BI6CMai0.js";import"./antd-vue-vendor-BPnV8VqP.js";import"./vxe-table-vendor-B88kchpX.js";const u={class:"image-element"},_=["src"],v={key:1,class:"image-placeholder"},f=m({__name:"ImageElement",props:{element:{},previewData:{}},setup(s){const n=s;function i(e){if(e)return e.split(".").reduce((t,l)=>t==null?void 0:t[l],n.previewData||{})}const a=c(()=>{const e=i(n.element.bindField);return e?String(e):n.element.src});return(e,t)=>(o(),r("div",u,[a.value?(o(),r("img",{key:0,src:a.value,style:d({objectFit:s.element.fit||"contain"})},null,12,_)):(o(),r("div",v,"图片"))]))}}),x=p(f,[["__scopeId","data-v-25dc198c"]]);export{x as default};
|
||||
Reference in New Issue
Block a user