Commit f7d57d7f authored by 李苏's avatar 李苏 💬

徐工道路APP

parent 83514d62
<template> <template>
<text @tap="scan()" class="cuIcon-barcode" style="font-size: 25px;"></text> <text @tap="scan()" class="cuIcon-barcode " style="font-size: 25px;"></text>
</template> </template>
<script> <script>
export default { export default {
name: "Scan", name: "Scan",
components: { components: {
}, },
props: { props: {
params: {}, params: {},
...@@ -20,7 +19,10 @@ ...@@ -20,7 +19,10 @@
onlyFromCamera: true, onlyFromCamera: true,
success: function(res) { success: function(res) {
that.app[that.params] = res.result that.app[that.params] = res.result
that.app[that.do]() setTimeout(()=>{
that.app[that.do]()
},1000)
} }
}) })
} }
......
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