Demo03CourseList-95a95ea7.js 1.4 KB

1
  1. import{d,n as y,r as s,B as h,o as _,l as o,w as n,C as w,a as e,i as t,L as v,M as g,N as b,_ as x,__tla as C}from"./index-afaf388d.js";import{_ as D,__tla as L}from"./ContentWrap-abe0694e.js";import{d as I,__tla as j}from"./formatTime-42952e7f.js";import{a as k,__tla as q}from"./index-2b64c030.js";import{u as z,__tla as B}from"./useMessage-a290df31.js";import{__tla as H}from"./el-card-9c18d881.js";let i,M=Promise.all([(()=>{try{return C}catch{}})(),(()=>{try{return L}catch{}})(),(()=>{try{return j}catch{}})(),(()=>{try{return q}catch{}})(),(()=>{try{return B}catch{}})(),(()=>{try{return H}catch{}})()]).then(async()=>{i=x(d({__name:"Demo03CourseList",props:{studentId:{type:null,required:!0}},setup(u){y(),z();const m=u,r=s(!1),l=s([]);return h(()=>{(async()=>{r.value=!0;try{l.value=await k(m.studentId)}finally{r.value=!1}})()}),(N,P)=>{const a=v,c=g,p=D,f=b;return _(),o(p,null,{default:n(()=>[w((_(),o(c,{data:e(l),stripe:!0,"show-overflow-tooltip":!0},{default:n(()=>[t(a,{label:"\u7F16\u53F7",align:"center",prop:"id"}),t(a,{label:"\u540D\u5B57",align:"center",prop:"name"}),t(a,{label:"\u5206\u6570",align:"center",prop:"score"}),t(a,{label:"\u521B\u5EFA\u65F6\u95F4",align:"center",prop:"createTime",formatter:e(I),width:"180px"},null,8,["formatter"])]),_:1},8,["data"])),[[f,e(r)]])]),_:1})}}}),[["__file","/Users/RuHu.Xu/Desktop/mall-newfeifan-zx-admin/src/views/infra/demo/demo03/inner/components/Demo03CourseList.vue"]])});export{M as __tla,i as default};