|
@@ -48,8 +48,9 @@
|
|
|
<a-table :data="data" stripe hoverable :pagination="false" column-resizable class="table" :loading="loading" :columns="columns">
|
|
<a-table :data="data" stripe hoverable :pagination="false" column-resizable class="table" :loading="loading" :columns="columns">
|
|
|
<template #imgUrl="{ record }">
|
|
<template #imgUrl="{ record }">
|
|
|
<a-avatar shape="square" size="large" :style="{ backgroundColor: 'rgba(0,0,0,0.25)' }">
|
|
<a-avatar shape="square" size="large" :style="{ backgroundColor: 'rgba(0,0,0,0.25)' }">
|
|
|
- <icon-book v-if="!record.imgUrl" />
|
|
|
|
|
- <img alt="" :src="record.imgUrl" v-else />
|
|
|
|
|
|
|
+ <icon-book />
|
|
|
|
|
+ <!-- <icon-book v-if="!record.imgUrl" />
|
|
|
|
|
+ <img alt="" :src="record.imgUrl" v-else /> -->
|
|
|
</a-avatar>
|
|
</a-avatar>
|
|
|
</template>
|
|
</template>
|
|
|
<template #textbookPrice="{ record }">
|
|
<template #textbookPrice="{ record }">
|