Commit c0b18d3b by 黄森林

二维码修改

parent 6200ab06
......@@ -42,7 +42,7 @@
</template>
<template slot="operation" slot-scope="text, record">
<span>
<a @click="addPoster(record.picture,record.userId)">新建海报</a>
<a @click="addPoster(record.picture)">新建海报</a>
<a-divider type="vertical"/>
<a-popconfirm title="是否要删除此行?" @confirm="remove(record.id)">
<a>删除</a>
......@@ -201,8 +201,8 @@
};
});
},
addPoster(picture,id){
let url = this.jumpPath+id
addPoster(picture){
let url = this.jumpPath+this.$store.state.user.info.id
picture = this.apis + picture
this.$refs.model1.showModal(picture,url);
},
......
......@@ -73,7 +73,6 @@ export default {
methods: {
showModal(picture,url) {
this.codeText=url
console.log(this.codeText)
this.getBase64(picture, 'jpeg', (base64) =>{
// 给原生img对象的src属性赋值
this.images=base64;
......
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