Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
data-table
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Authored by
hookehuyr
2023-03-08 18:11:30 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
52ead3da74dbb91d6a91da83a22fa82a8e1afe51
52ead3da
1 parent
c3c0d711
fix
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
src/components/TextField/index.vue
src/components/TextField/index.vue
View file @
52ead3d
<!--
* @Date: 2022-08-29 14:31:20
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2023-03-0
6 10:09:15
* @LastEditTime: 2023-03-0
8 18:10:28
* @FilePath: /data-table/src/components/TextField/index.vue
* @Description: 单行文本输入框(微信扫描功能)
-->
...
...
@@ -58,7 +58,7 @@ const clickRightIcon = async () => {
wx.ready(() => {
wx.scanQRCode({
needResult: 1, // 默认为0,扫描结果由微信处理,1则直接返回扫描结果,
scanType: scanType(
item.props
.camera_scan_type), // 可以指定扫二维码还是一维码,默认二者都有
scanType: scanType(
props.item
.camera_scan_type), // 可以指定扫二维码还是一维码,默认二者都有
success: function (res) {
if (res.errMsg === 'scanQRCode:ok') {
let code = res.resultStr;
...
...
Please
register
or
login
to post a comment