File tree Expand file tree Collapse file tree
static/.vuepress/components Expand file tree Collapse file tree Original file line number Diff line number Diff line change 9191 </template >
9292
9393 <template v-slot :cell (category)="data" v-if =" categoryCodelist " >
94- <router-link :to =" '../' + categoryCodelist + '/#' + data.item.category" >{{ data.item.category }}</router-link >
94+ <template v-if =" data .item .category != null " >
95+ <span
96+ class =" category-item"
97+ v-for =" category in data.item.category.split(';').sort()"
98+ :key =" category" >
99+ <router-link
100+ :to =" '../' + categoryCodelist + '/#' + category"
101+ >{{ category }}</router-link >
102+ </span >
103+ </template >
95104 </template >
96105 </b-table >
97106 <b-form-group
130139 table {
131140 display : table ;
132141 }
142+ .category-item :after {
143+ content : " ; " ;
144+ color : #888 ;
145+ }
146+ .category-item :last-child :after {
147+ content : " "
148+ }
133149 </style >
134150<script >
135151 import axios from ' axios'
You can’t perform that action at this time.
0 commit comments