Add brands
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
|
||||
<el-table-column width="80">
|
||||
<template slot-scope="scope">
|
||||
<img width="60" :src="config.apiAsanMarket + scope.row.logo">
|
||||
<img width="60" :src="'/uploads/images/brands/'+scope.row.logo">
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
||||
@@ -30,13 +30,13 @@
|
||||
|
||||
<el-table-column label="توضیحات" width="">
|
||||
<template slot-scope="scope">
|
||||
<span class="singleLineTxt" :title="scope.row.national"> {{ scope.row.description }} </span>
|
||||
<span class="singleLineTxt" :title="scope.row.description"> {{ scope.row.description }} </span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
||||
<el-table-column label="لینک" width="">
|
||||
<template slot-scope="scope">
|
||||
<span class="singleLineTxt" :title="scope.row.national"> {{ scope.row.link }} </span>
|
||||
<span class="singleLineTxt" :title="scope.row.link"> {{ scope.row.link }} </span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
||||
@@ -91,7 +91,7 @@
|
||||
},
|
||||
beforeMount(){
|
||||
|
||||
this.$axios.get('/api/public//brand').then(res=>{
|
||||
this.$axios.get('/api/public/brand').then(res=>{
|
||||
this.brands = res.data
|
||||
console.log(res.data)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user