Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mayi-mp-shop
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
程默
mayi-mp-shop
Commits
f519ce2a
Commit
f519ce2a
authored
Nov 01, 2021
by
李嘉林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
版本号
parent
5eb930d9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletions
+7
-1
src/components/bottomCont.vue
+7
-1
No files found.
src/components/bottomCont.vue
View file @
f519ce2a
...
@@ -66,8 +66,14 @@ export default {
...
@@ -66,8 +66,14 @@ export default {
},
},
showActionSheet
(){
showActionSheet
(){
let
vm
=
this
let
vm
=
this
let
accountInfo
=
wx
.
getAccountInfoSync
();
let
version
=
accountInfo
.
miniProgram
.
version
;
// 1.0.0 小程序版本号
let
itemList
=
[
'复制页面路径'
,
'隐藏工具箱'
];
if
(
version
){
itemList
.
push
(
`当前版本号:
${
version
}
`
)
}
wx
.
showActionSheet
({
wx
.
showActionSheet
({
itemList
:
[
'复制页面路径'
,
'隐藏工具箱'
]
,
itemList
,
success
(
res
)
{
success
(
res
)
{
console
.
log
(
res
.
tapIndex
)
console
.
log
(
res
.
tapIndex
)
...
...
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