Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
U
uni-app-ddh-shop
Project
Project
Details
Activity
Releases
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
zhanhai
uni-app-ddh-shop
Commits
f1c3a12a
Commit
f1c3a12a
authored
Sep 27, 2024
by
ly
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d
parent
42d509b0
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
8 deletions
+10
-8
upgradePopup.vue
components/showModal/upgradePopup.vue
+3
-3
app-service.js
unpackage/dist/dev/app-plus/app-service.js
+7
-5
No files found.
components/showModal/upgradePopup.vue
View file @
f1c3a12a
...
...
@@ -26,8 +26,8 @@
<view
v-if=
"updateButtonBoolean"
class=
"update-button"
>
<button
class=
"not-updated-button"
:disabled=
"noUpdatedDisabled"
v-show=
"appUpgeadeObj.forceUpdate == false"
type=
"warn"
@
tap
.
stop=
"noUpdate"
>
暂不更新
</button>
<button
v-show=
'appUpgeadeObj.type == "ANDROID"'
class=
"updated-button"
type=
"warn"
@
tap
.
stop=
"upgradeNowAndroid"
>
立即升级
</button>
<button
v-show=
'appUpgeadeObj.type == "IOS"'
class=
"updated-button"
type=
"warn"
@
tap
.
stop=
"upgradeNow"
>
立即升级
</button>
<button
v-show=
'appUpgeadeObj.type == "ANDROID"
|| appUpgeadeObj.type == "WGT"
'
class=
"updated-button"
type=
"warn"
@
tap
.
stop=
"upgradeNowAndroid"
>
立即升级
</button>
<button
v-show=
'appUpgeadeObj.type == "IOS"
|| appUpgeadeObj.type == "WGT"
'
class=
"updated-button"
type=
"warn"
@
tap
.
stop=
"upgradeNow"
>
立即升级
</button>
</view>
<!-- v-if="progressBolean" -->
<!--
{{
progressBolean
}}
-->
...
...
@@ -106,7 +106,7 @@
that
.
isWGT
=
that
.
appUpgeadeObj
.
type
==
'wgt'
const
index
=
that
.
appUpgeadeObj
.
downloadUrl
.
indexOf
(
'apps.apple.com'
)
console
.
log
(
that
.
isWGT
,
'that.isWGT3333'
)
if
(
that
.
isWGT
!
=
true
){
if
(
that
.
isWGT
=
=
true
){
that
.
updateWgt
(
that
.
appUpgeadeObj
.
downloadUrl
,
that
.
appUpgeadeObj
.
downloadUrl
.
versionName
)
}
else
{
if
(
platform
==
'ios'
&&
index
!==
-
1
)
return
plus
.
runtime
.
openURL
(
that
.
appUpgeadeObj
.
downloadUrl
);
...
...
unpackage/dist/dev/app-plus/app-service.js
View file @
f1c3a12a
This diff is collapsed.
Click to expand it.
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