|
|
@ -125,6 +125,7 @@ |
|
|
|
<div class="success-tip">扫码成功</div> |
|
|
|
<el-input v-model="code" |
|
|
|
autofocus |
|
|
|
ref="codeFocus" |
|
|
|
placeholder="请扫码" |
|
|
|
@keyup.enter.native="enterPress"></el-input> |
|
|
|
</div> |
|
|
@ -331,6 +332,7 @@ export default { |
|
|
|
}).catch(() => { |
|
|
|
this.resetView() |
|
|
|
}) |
|
|
|
this.$refs.codeFocus.focus() |
|
|
|
}, |
|
|
|
resetView() { |
|
|
|
this.seeImgs = [] |
|
|
@ -369,6 +371,7 @@ export default { |
|
|
|
this.loading = true |
|
|
|
this.getViewsofarticle(code) |
|
|
|
this.getArtrouteodslst(code) |
|
|
|
this.$refs.codeFocus.focus() |
|
|
|
}, |
|
|
|
//获取扫码规则 |
|
|
|
codeparser() { |
|
|
|