File tree Expand file tree Collapse file tree 1 file changed +10
-11
lines changed
Expand file tree Collapse file tree 1 file changed +10
-11
lines changed Original file line number Diff line number Diff line change 4141 <template v-if =" column .key === col " >
4242 <router-link :set =" routerlink = routerlinks(record)" :to =" { path: routerlink[col] }" >{{ text }}</router-link >
4343 </template >
44- </div >
4544
46- <template v-if =" column . key === ' state' " >
47- <status :text =" text ? text : ''" />{{ text }}
48- </template >
45+ <template v-else- if =" [ ' state' , ' status ' ]. includes ( column . key ) " >
46+ <status :text =" text ? text : ''" />{{ text }}
47+ </template >
4948
50- <template v-if =" column .key === ' status' " >
51- <status :text =" text ? text : ''" />{{ text }}
52- </template >
53- </template >
49+ <template v-else-if =" column .key === ' created' " >
50+ {{ $toLocaleDate(text) }}
51+ </template >
5452
55- <template v-slot :created =" { item } " >
56- {{ $toLocaleDate(item) }}
53+ <template v-else >
54+ {{ text }}
55+ </template >
56+ </div >
5757 </template >
58-
5958 </a-table >
6059
6160 <div v-if =" !defaultPagination" style =" display : block ; text-align : right ; margin-top : 10px ;" >
You can’t perform that action at this time.
0 commit comments