Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
take_order
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
和慭琛
take_order
Commits
614e27d5
Commit
614e27d5
authored
Mar 29, 2021
by
李俊赕
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
app页面token获取修改
parent
9f3437c5
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
13 deletions
+10
-13
App.vue
take-order/App.vue
+10
-7
take.vue
take-order/pages/photo/take.vue
+0
-6
No files found.
take-order/App.vue
View file @
614e27d5
...
@@ -130,14 +130,17 @@
...
@@ -130,14 +130,17 @@
this
.
checkUpdate
()
this
.
checkUpdate
()
var
that
=
this
var
that
=
this
uni
.
getStorage
({
that
.
globalData
.
token
=
util
.
getToken
()
key
:
'token'
,
console
.
log
(
that
.
globalData
.
token
,
'that.globalData.token'
)
success
:
function
(
res
)
{
that
.
globalData
.
token
=
res
.
data
that
.
initAPIneedToken
()
that
.
initAPIneedToken
()
// uni.getStorage({
}
// key: 'token',
})
// success: function (res) {
// that.globalData.token = res.data
// that.initAPIneedToken()
// }
// })
this
.
getProtocolContent
()
this
.
getProtocolContent
()
...
...
take-order/pages/photo/take.vue
View file @
614e27d5
...
@@ -98,12 +98,6 @@
...
@@ -98,12 +98,6 @@
this
.
currentItem
=
photo
.
currentItem
this
.
currentItem
=
photo
.
currentItem
},
},
computed
:
{
computed
:
{
// waterSetting() {
// // photo.waterSetting
// const photo = getApp().globalData.photo
// console.log(photo.waterSetting, 'photo.waterSetting')
// return photo.waterSetting || null
// },
titleTxt
(){
titleTxt
(){
const
waterSetting
=
this
.
waterSetting
const
waterSetting
=
this
.
waterSetting
let
txt
=
''
let
txt
=
''
...
...
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