Commit 85c03127 by 林家欣

修改软件下载下条码图书图片路径

parent 8cd50dcd
File deleted
......@@ -6,7 +6,7 @@
<el-tab-pane label="条码图书" name="first">
<div class="book-card" :key="i" v-for="(item,i) in bookList">
<div class="book-img">
<img :src="prefix+item.graph" alt="">
<img :src="item.graph" alt="">
</div>
<div class="book-content">
<div class="title">{{ item.prename }}</div>
......@@ -68,7 +68,6 @@ export default {
data() {
return {
activeName: 'second',
prefix: 'http://www.gs1cn.org/Knowledge/img/',
appList: [
{
name: '中国物品编码中心',
......@@ -125,6 +124,7 @@ export default {
async getBooks(page = 1) {
const res = await this.$api.service.getCodeBook({page: page, size: this.page.pageSize})
const {returnCode, data} = res;
console.log(data, 'datadatadatadata');
if (returnCode === "0") {
this.bookList = data.list
this.page.currentPage = data.currPage
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment