|
@@ -12,7 +12,9 @@
|
|
|
<img
|
|
|
v-show="codeFlag"
|
|
|
ref="imgCode"
|
|
|
+ style="cursor:pointer"
|
|
|
src="@/assets/logo_2.png"
|
|
|
+ @click="getCode"
|
|
|
:width="width"
|
|
|
:height="height"
|
|
|
/>
|
|
@@ -74,6 +76,7 @@ export default {
|
|
|
saveCode({ type: this.type, codeId: this.codeId }).then(result => {
|
|
|
console.log(1111, result)
|
|
|
this.imageIsExist(result.data).then(res => {
|
|
|
+ this.$message.info('二维码已经重新生成')
|
|
|
if (res) {
|
|
|
this.$refs.imgCode.src = result.data
|
|
|
this.showFlag = true
|