yshop1.7发布,后台升級eladmin2.4(前端,后台权限,代码生成器等重构),修复商品分类等一些问题

This commit is contained in:
hupeng
2020-01-07 23:32:27 +08:00
parent 24753759f4
commit b6cc8046db
451 changed files with 13868 additions and 8883 deletions

View File

@ -6,9 +6,10 @@
:headers="headers"
:show-file-list="false"
:on-success="handleUploadSuccess"
:before-upload="beforeAvatarUpload">
:before-upload="beforeAvatarUpload"
>
<img v-if="value" :src="resourcesUrl + value" class="pic">
<i v-else class="el-icon-plus pic-uploader-icon"></i>
<i v-else class="el-icon-plus pic-uploader-icon" />
</el-upload>
</div>
</template>
@ -17,11 +18,11 @@
import { getToken } from '@/utils/auth'
import { mapGetters } from 'vuex'
export default {
data () {
data() {
return {
resourcesUrl: '',
headers: {
'Authorization': 'Bearer ' + getToken()
'Authorization': getToken()
}
}
},