Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gs1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
吴迪
gs1
Commits
2581f4ba
Commit
2581f4ba
authored
Dec 11, 2021
by
tang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 验证码自动刷新
parent
5e74f315
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
6 additions
and
15 deletions
+6
-15
bike.vue
src/views/Search/bike.vue
+1
-0
external.vue
src/views/Search/external.vue
+1
-0
gln.vue
src/views/Search/gln.vue
+1
-0
glossary.vue
src/views/Search/glossary.vue
+1
-0
internal.vue
src/views/Search/internal.vue
+1
-15
shortcode.vue
src/views/Search/shortcode.vue
+1
-0
No files found.
src/views/Search/bike.vue
View file @
2581f4ba
...
@@ -123,6 +123,7 @@ export default {
...
@@ -123,6 +123,7 @@ export default {
"没有符合条件的记录!"
;
"没有符合条件的记录!"
;
this
.
result
=
null
;
this
.
result
=
null
;
}
}
this
.
getCaptcha
();
},
},
},
},
};
};
...
...
src/views/Search/external.vue
View file @
2581f4ba
...
@@ -109,6 +109,7 @@ export default {
...
@@ -109,6 +109,7 @@ export default {
"您输入的商品条码格式不正确,请确认后重试。"
;
"您输入的商品条码格式不正确,请确认后重试。"
;
this
.
result
=
null
;
this
.
result
=
null
;
}
}
this
.
getCaptcha
();
},
},
},
},
};
};
...
...
src/views/Search/gln.vue
View file @
2581f4ba
...
@@ -128,6 +128,7 @@ export default {
...
@@ -128,6 +128,7 @@ export default {
"您输入的商品条码格式不正确,请确认后重试。"
;
"您输入的商品条码格式不正确,请确认后重试。"
;
this
.
result
=
null
;
this
.
result
=
null
;
}
}
this
.
getCaptcha
()
},
},
},
},
};
};
...
...
src/views/Search/glossary.vue
View file @
2581f4ba
...
@@ -111,6 +111,7 @@ export default {
...
@@ -111,6 +111,7 @@ export default {
"没有符合条件的记录!"
;
"没有符合条件的记录!"
;
this
.
result
=
null
;
this
.
result
=
null
;
}
}
this
.
getCaptcha
();
},
},
},
},
};
};
...
...
src/views/Search/internal.vue
View file @
2581f4ba
...
@@ -177,7 +177,6 @@
...
@@ -177,7 +177,6 @@
</template>
</template>
<
script
>
<
script
>
import
{
getUUID
}
from
"@/utils/utils"
;
import
Vcode
from
"vue-puzzle-vcode"
;
import
Vcode
from
"vue-puzzle-vcode"
;
import
validation
from
"@/views/Search/validation"
;
import
validation
from
"@/views/Search/validation"
;
...
@@ -213,21 +212,7 @@ export default {
...
@@ -213,21 +212,7 @@ export default {
components
:
{
components
:
{
Vcode
,
Vcode
,
},
},
created
()
{
this
.
getCaptcha
();
},
methods
:
{
methods
:
{
// 获取验证码
getCaptcha
()
{
this
.
uuid
=
getUUID
()
const
query
=
{
uuid
:
this
.
uuid
};
this
.
$api
.
getCaptcha
(
query
).
then
((
res
)
=>
{
console
.
log
(
res
,
"res"
);
this
.
captchaPath
=
window
.
URL
.
createObjectURL
(
res
.
body
);
});
},
// 点击此处进行验证
// 点击此处进行验证
handleVerification
()
{
handleVerification
()
{
console
.
log
(
"点击此处进行验证"
);
console
.
log
(
"点击此处进行验证"
);
...
@@ -271,6 +256,7 @@ export default {
...
@@ -271,6 +256,7 @@ export default {
"没有符合条件的记录!"
;
"没有符合条件的记录!"
;
this
.
result
=
null
;
this
.
result
=
null
;
}
}
this
.
getCaptcha
();
},
},
handleSearchProduct
()
{
handleSearchProduct
()
{
...
...
src/views/Search/shortcode.vue
View file @
2581f4ba
...
@@ -146,6 +146,7 @@ export default {
...
@@ -146,6 +146,7 @@ export default {
"没有符合条件的记录!"
;
"没有符合条件的记录!"
;
this
.
result
=
null
;
this
.
result
=
null
;
}
}
this
.
getCaptcha
();
},
},
},
},
};
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment