Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wx-boss
Project
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
姜雷
wx-boss
Commits
f6780eff
Commit
f6780eff
authored
Dec 31, 2019
by
姜雷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改登出后跳转逻辑
parent
b767d38b
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
8 deletions
+14
-8
index.js
miniprogram/pages/index/index.js
+6
-3
index.ts
miniprogram/pages/index/index.ts
+4
-1
report.js
miniprogram/pages/report/report.js
+3
-3
report.ts
miniprogram/pages/report/report.ts
+1
-1
No files found.
miniprogram/pages/index/index.js
View file @
f6780eff
...
...
@@ -4,10 +4,13 @@ var fetch_1 = require("../../api/fetch");
var
md5
=
require
(
'blueimp-md5'
);
var
app
=
getApp
();
Page
({
onLoad
:
function
()
{
onLoad
:
function
(
option
)
{
console
.
log
(
option
);
if
(
app
.
globalData
.
token
)
{
this
.
tokenLoagin
();
}
else
if
(
option
.
logout
)
{
}
else
{
this
.
codeLogin
();
}
...
...
@@ -236,4 +239,4 @@ Page({
var
_a
;
},
});
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJpbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUNBLHlDQUE4QztBQUM5QyxJQUFNLEdBQUcsR0FBRyxPQUFPLENBQUMsYUFBYSxDQUFDLENBQUM7QUFHbkMsSUFBTSxHQU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92ZXJpZnlDb2RlJyxcbiAgICAgICAgICB9KVxuICAgICAgICAgICAgLnRoZW4oKHJlczogd3guUmVxdWVzdFN1Y2Nlc3NDYWxsYmFja1Jlc3VsdCkgPT4ge1xuICAgICAgICAgICAgICBjb25zb2xlLmxvZyhyZXMpO1xuICAgICAgICAgICAgICByZXR1cm4ge1xuICAgICAgICAgICAgICAgIGNvZGU6IHJlcy5kYXRhLnZlcmlmeUNvZGUsXG4gICAgICAgICAgICAgICAgY29va2llOiByZXMuaGVhZGVyWydTZXQtQ29va2llJ10sXG4gICAgICAgICAgICAgIH07XG4gICAgICAgICAgICB9KVxuICAgICAgICAgICAgLnRoZW4oKHsgY29va2llIH06IHsgY29kZTogc3RyaW5nOyBjb29raWU6IHN0cmluZyB9KSA9PlxuICAgICAgICAgICAgICBzeXN0ZW1GZXRjaCh7XG4gICAgICAgICAgICAgICAgdXJsOiAnL2Jvc3MvbG9naW4nLFxuICAgICAgICAgICAgICAgIG1ldGhvZDogJ1BPU1QnLFxuICAgICAgICAgICAgICAgIGhlYWRlcjoge1xuICAgICAgICAgICAgICAgICAgY29va2llOiBjb29raWUsXG4gICAgICAgICAgICAgICAgfSxcbiAgICAgICAgICAgICAgICBkYXRhOiB7XG4gICAgICAgICAgICAgICAgICBjb2RlLFxuICAgICAgICAgICAgICAgICAgdG9rZW46IGFwcC5nbG9iYWxEYXRhLnRva2VuLFxuICAgICAgICAgICAgICAgIH0sXG4gICAgICAgICAgICAgIH0pLFxuICAgICAgICAgICAgKVxuICAgICAgICAgICAgLnRoZW4ocmVzID0+IHtcbiAgICAgICAgICAgICAgY29uc29sZS5sb2cocmVzKTtcbiAgICAgICAgICAgICAgY29uc3Qge1xuICAgICAgICAgICAgICAgIHRva2VuLFxuICAgICAgICAgICAgICAgIGRhdGE6IHsgdXNlckluZm8sIHVzZXJSb2xlcyB9LFxuICAgICAgICAgICAgICB9ID0gcmVzO1xuICAgICAgICAgICAgICBhcHAuZ2xvYmFsRGF0YS50b2tlbiA9IHRva2VuO1xuICAgICAgICAgICAgICBhcHAuZ2xvYmFsRGF0YS51c2VySW5mbyA9IHVzZXJJbmZvO1xuICAgICAgICAgICAgICBhcHAuZ2xvYmFsRGF0YS51c2VyUm9sZXMgPSB1c2VyUm9sZXM7XG4gICAgICAgICAgICAgIHd4LmhpZGVMb2FkaW5nKCk7XG4gICAgICAgICAgICAgIHd4LnJlZGlyZWN0VG8oe1xuICAgICAgICAgICAgICAgIHVybDogJy9wYWdlcy9ob21lQW5kUmVwb3J0L2hvbWVBbmRSZXBvcnQnLFxuICAgICAgICAgICAgICB9KTtcbiAgICAgICAgICAgIH0pXG4gICAgICAgICAgICAuY2F0Y2goZXJyID0+IHtcbiAgICAgICAgICAgICAgY29uc29sZS5sb2coZXJyKTtcbiAgICAgICAgICAgICAgd3guaGlkZUxvYWRpbmcoKTtcbiAgICAgICAgICAgICAgd3guc2hvd1RvYXN0KHtcbiAgICAgICAgICAgICAgICB0aXRsZTogZXJyLmVyck1zZyxcbiAgICAgICAgICAgICAgICBpY29uOiAnbm9uZScsXG4gICAgICAgICAgICAgIH0pO1xuICAgICAgICAgICAgfSk7XG4gICAgICAgIH1cbiAgICAgIH0sXG4gICAgfSk7XG4gIH0sXG4gIGxvZ2luSGFuZGxlKCkge1xuICAgIGNvbnNvbGUubG9nKGFwcC5nbG9iYWxEYXRhKTtcbiAgICBpZiAodGhpcy52YWxpZGF0ZUxvZ2luRGF0YSgpKSB7XG4gICAgICBjb25zdCB7IGFjY291bnQsIHB3ZCB9ID0gdGhpcy5kYXRhO1xuICAgICAgY29uc29sZS5sb2coYWNjb3VudCwgcHdkKTtcbiAgICAgIHd4LnJlcXVlc3RTdWJzY3JpYmVNZXNzYWdlKHtcbiAgICAgICAgdG1wbElkczogWydXVTJ5TUhLTV95TlBMR0hSc3N0Z2dzRFluWmhLb0hJZzRoZU0yZlprRDVJJ10sXG4gICAgICAgIHN1Y2Nlc3MocmVzKSB7XG4gICAgICAgICAgY29uc29sZS5sb2coJ2luIHN1Y2Nlc3MnLCByZXMpO1xuICAgICAgICB9LFxuICAgICAgICBmYWlsKHJlcykge1xuICAgICAgICAgIGNvbnNvbGUubG9nKCdpbiBmYWlsJywgcmVzKTtcbiAgICAgICAgfSxcbiAgICAgICAgY29tcGxldGUocmVzKSB7XG4gICAgICAgICAgY29uc29sZS5sb2coJ2luIGNvbXBsZXRlJywgcmVzKTtcbiAgICAgICAgICB3eC5sb2dpbih7XG4gICAgICAgICAgICBzdWNjZXNzOiByZXMgPT4ge1xuICAgICAgICAgICAgICBpZiAocmVzLmNvZGUpIHtcbiAgICAgICAgICAgICAgICBjb25zdCBjb2RlID0gcmVzLmNvZGU7XG4gICAgICAgICAgICAgICAgd3guc2hvd0xvYWRpbmcoeyB0aXRsZTogJycgfSk7XG4gICAgICAgICAgICAgICAgc3lzdGVtRmV0Y2goe1xuICAgICAgICAgICAgICAgICAgdXJsOiAnL2xvZ2luL3ZlcmlmeUNvZGUnLFxuICAgICAgICAgICAgICAgIH0pXG4gICAgICAgICAgICAgICAgICAudGhlbigocmVzOiB3eC5SZXF1ZXN0U3VjY2Vzc0NhbGxiYWNrUmVzdWx0KSA9PiB7XG4gICAgICAgICAgICAgICAgICAgIGNvbnNvbGUubG9nKHJlcyk7XG4gICAgICAgICAgICAgICAgICAgIHJldHVybiB7XG4gICAgICAgICAgICAgICAgICAgICAgdmVyaWZ5Q29kZTogcmVzLmRhdGEudmVyaWZ5Q29kZSxcbiAgICAgICAgICAgICAgICAgICAgICBjb29raWU6IHJlcy5oZWFkZXJbJ1NldC1Db29raWUnXSxcbiAgICAgICAgICAgICAgICAgICAgfTtcbiAgICAgICAgICAgICAgICAgIH0pXG4gICAgICAgICAgICAgICAgICAudGhlbihcbiAgICAgICAgICAgICAgICAgICAgKHtcbiAgICAgICAgICAgICAgICAgICAgICB2ZXJpZnlDb2RlLFxuICAgICAgICAgICAgICAgICAgICAgIGNvb2tpZSxcbiAgICAgICAgICAgICAgICAgICAgfToge1xuICAgICAgICAgICAgICAgICAgICAgIHZlcmlmeUNvZGU6IHN0cmluZztcbiAgICAgICAgICAgICAgICAgICAgICBjb29raWU6IHN0cmluZztcbiAgICAgICAgICAgICAgICAgICAgfSkgPT4ge1xuICAgICAgICAgICAgICAgICAgICAgIGxldCBtaXhwd2QgPSBtZDUocHdkKTtcbiAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gc3lzdGVtRmV0Y2goe1xuICAgICAgICAgICAgICAgICAgICAgICAgdXJsOiAnL2Jvc3MvbG9naW4nLFxuICAgICAgICAgICAgICAgICAgICAgICAgbWV0aG9kOiAnUE9TVCcsXG4gICAgICAgICAgICAgICAgICAgICAgICBoZWFkZXI6IHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgY29va2llOiBjb29raWUsXG4gICAgICAgICAgICAgICAgICAgICAgICB9LFxuICAgICAgICAgICAgICAgICAgICAgICAgZGF0YToge1xuICAgICAgICAgICAgICAgICAgICAgICAgICBjb2RlLFxuICAgICAgICAgICAgICAgICAgICAgICAgICBhY2NvdW50LFxuICAgICAgICAgICAgICAgICAgICAgICAgICBwd2Q6IG1peHB3ZCxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgdmFyaWZ5Q29kZTogdmVyaWZ5Q29kZSxcbiAgICAgICAgICAgICAgICAgICAgICAgIH0sXG4gICAgICAgICAgICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICAgICAgICAgIH0sXG4gICAgICAgICAgICAgICAgICApXG4gICAgICAgICAgICAgICAgICAudGhlbihyZXMgPT4ge1xuICAgICAgICAgICAgICAgICAgICBjb25zb2xlLmxvZyhyZXMpO1xuICAgICAgICAgICAgICAgICAgICBjb25zdCB7XG4gICAgICAgICAgICAgICAgICAgICAgdG9rZW4sXG4gICAgICAgICAgICAgICAgICAgICAgZGF0YTogeyB1c2VySW5mbywgdXNlclJvbGVzIH0sXG4gICAgICAgICAgICAgICAgICAgIH0gPSByZXM7XG4gICAgICAgICAgICAgICAgICAgIGFwcC5nbG9iYWxEYXRhLnRva2VuID0gdG9rZW47XG4gICAgICAgICAgICAgICAgICAgIGFwcC5nbG9iYWxEYXRhLnVzZXJJbmZvID0gdXNlckluZm87XG4gICAgICAgICAgICAgICAgICAgIGFwcC5nbG9iYWxEYXRhLnVzZXJSb2xlcyA9IHVzZXJSb2xlcztcbiAgICAgICAgICAgICAgICAgICAgdHJ5IHtcbiAgICAgICAgICAgICAgICAgICAgICB3eC5zZXRTdG9yYWdlU3luYygndG9rZW4nLCB0b2tlbik7XG4gICAgICAgICAgICAgICAgICAgIH0gY2F0Y2ggKGVycm9yKSB7fVxuICAgICAgICAgICAgICAgICAgICB3eC5oaWRlTG9hZGluZygpO1xuICAgICAgICAgICAgICAgICAgICB3eC5yZWRpcmVjdFRvKHtcbiAgICAgICAgICAgICAgICAgICAgICB1cmw6ICcvcGFnZXMvaG9tZUFuZFJlcG9ydC9ob21lQW5kUmVwb3J0JyxcbiAgICAgICAgICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICAgICAgICB9KVxuICAgICAgICAgICAgICAgICAgLmNhdGNoKGVyciA9PiB7XG4gICAgICAgICAgICAgICAgICAgIGNvbnNvbGUubG9nKGVycik7XG4gICAgICAgICAgICAgICAgICAgIHd4LmhpZGVMb2FkaW5nKCk7XG4gICAgICAgICAgICAgICAgICAgIHd4LnNob3dUb2FzdCh7XG4gICAgICAgICAgICAgICAgICAgICAgdGl0bGU6IGVyci5lcnJNc2csXG4gICAgICAgICAgICAgICAgICAgICAgaWNvbjogJ25vbmUnLFxuICAgICAgICAgICAgICAgICAgICB9KTtcbiAgICAgICAgICAgICAgICAgIH0pO1xuICAgICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgIHd4LnNob3dUb2FzdCh7XG4gICAgICAgICAgICAgICAgICB0aXRsZTogJ+eZu+W9leiOt+WPlmNvZGXlpLHotKUnLFxuICAgICAgICAgICAgICAgICAgaWNvbjogJ25vbmUnLFxuICAgICAgICAgICAgICAgIH0pO1xuICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9LFxuICAgICAgICAgIH0pO1xuICAgICAgICB9LFxuICAgICAgfSk7XG4gICAgfVxuICAgIC8vIGZldGNoKClcbiAgICAvLyB3eC5yZWRpcmVjdFRvKHtcbiAgICAvLyAgIHVybDogJy9wYWdlcy9ob21lL2hvbWUnXG4gICAgLy8gfSlcbiAgfSxcbiAgY29kZUxvZ2luKCkge1xuICAgIHd4LmxvZ2luKHtcbiAgICAgIHN1Y2Nlc3M6IHJlcyA9PiB7XG4gICAgICAgIGlmIChyZXMuY29kZSkge1xuICAgICAgICAgIGNvbnN0IGNvZGUgPSByZXMuY29kZTtcbiAgICAgICAgICBzeXN0ZW1GZXRjaCh7XG4gICAgICAgICAgICB1cmw6ICcvYm9zcy9sb2dpbicsXG4gICAgICAgICAgICBtZXRob2Q6ICdQT1NUJyxcbiAgICAgICAgICAgIGRhdGE6IHtcbiAgICAgICAgICAgICAgY29kZSxcbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgfSlcbiAgICAgICAgICAgIC50aGVuKHJlcyA9PiB7XG4gICAgICAgICAgICAgIGNvbnNvbGUubG9nKHJlcyk7XG4gICAgICAgICAgICAgIGNvbnN0IHtcbiAgICAgICAgICAgICAgICB0b2tlbixcbiAgICAgICAgICAgICAgICBkYXRhOiB7IHVzZXJJbmZvLCB1c2VyUm9sZXMgfSxcbiAgICAgICAgICAgICAgfSA9IHJlcztcbiAgICAgICAgICAgICAgYXBwLmdsb2JhbERhdGEudG9rZW4gPSB0b2tlbjtcbiAgICAgICAgICAgICAgYXBwLmdsb2JhbERhdGEudXNlckluZm8gPSB1c2VySW5mbztcbiAgICAgICAgICAgICAgYXBwLmdsb2JhbERhdGEudXNlclJvbGVzID0gdXNlclJvbGVzO1xuICAgICAgICAgICAgICB0cnkge1xuICAgICAgICAgICAgICAgIHd4LnNldFN0b3JhZ2VTeW5jKCd0b2tlbicsIHRva2VuKTtcbiAgICAgICAgICAgICAgfSBjYXRjaCAoZXJyb3IpIHt9XG4gICAgICAgICAgICAgIHd4LmhpZGVMb2FkaW5nKCk7XG4gICAgICAgICAgICAgIHd4LnJlZGlyZWN0VG8oe1xuICAgICAgICAgICAgICAgIHVybDogJy9wYWdlcy9ob21lQW5kUmVwb3J0L2hvbWVBbmRSZXBvcnQnLFxuICAgICAgICAgICAgICB9KTtcbiAgICAgICAgICAgIH0pXG4gICAgICAgICAgICAuY2F0Y2goZXJyID0+IHtcbiAgICAgICAgICAgICAgY29uc29sZS5sb2coZXJyKTtcbiAgICAgICAgICAgICAgd3guaGlkZUxvYWRpbmcoKTtcbiAgICAgICAgICAgICAgd3guc2hvd1RvYXN0KHtcbiAgICAgICAgICAgICAgICB0aXRsZTogZXJyLmVyck1zZyxcbiAgICAgICAgICAgICAgICBpY29uOiAnbm9uZScsXG4gICAgICAgICAgICAgIH0pO1xuICAgICAgICAgICAgfSk7XG4gICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgd3guc2hvd1RvYXN0KHtcbiAgICAgICAgICAgIHRpdGxlOiAn55m75b2V6I635Y+WY29kZeWksei0pScsXG4gICAgICAgICAgICBpY29uOiAnbm9uZScsXG4gICAgICAgICAgfSk7XG4gICAgICAgIH1cbiAgICAgIH0sXG4gICAgfSk7XG4gIH0sXG4gIG5hbWVJbnB1dEhhbmRsZShlKSB7XG4gICAgY29uc3QgdmFsdWUgPSBlLmRldGFpbC52YWx1ZTtcbiAgICB0aGlzLnVwZGF0ZUlucHV0VmFsdWUoJ2FjY291bnQnLCB2YWx1ZSk7XG4gIH0sXG4gIHBhc3N3YXJkSW5vdXRIYW5kbGUoZSkge1xuICAgIGNvbnN0IHZhbHVlID0gZS5kZXRhaWwudmFsdWU7XG4gICAgdGhpcy51cGRhdGVJbnB1dFZhbHVlKCdwd2QnLCB2YWx1ZSk7XG4gIH0sXG4gIHVwZGF0ZUlucHV0VmFsdWUoa2V5OiBzdHJpbmcsIHZhbHVlOiBzdHJpbmcpIHtcbiAgICB0aGlzLnNldERhdG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biAgICAgIHd4LnNob3dUb2FzdCh7XG4gICAgICAgIHRpdGxlOiAn6K+36L6T5YWl6LSm5oi3JyxcbiAgICAgICAgaWNvbjogJ25vbmUnLFxuICAgICAgfSk7XG4gICAgICByZXR1cm47XG4gICAgfVxuICAgIGlmICghcHdkKSB7XG4gICAgICB3eC5zaG93VG9hc3Qoe1xuICAgICAgICB0aXRsZTogJ+ivt+i+k+WFpeWvhueggScsXG4gICAgICAgIGljb246ICdub25lJyxcbiAgICAgIH0pO1xuICAgICAgcmV0dXJuO1xuICAgIH1cbiAgICByZXR1cm4gdHJ1ZTtcbiAgfSxcbiAgdG9rZW5Mb2FnaW4oKSB7XG4gICAgd3gubG9naW4oe1xuICAgICAgc3VjY2VzczogcmVzID0+IHtcbiAgICAgICAgaWYgKHJlcy5jb2RlKSB7XG4gICAgICAgICAgY29uc3QgY29kZSA9IHJlcy5jb2RlO1xuXG4gICAgICAgICAgd3guc2hvd0xvYWRpbmcoeyB0aXRsZTogJ+eZu+mZhuS4rScgfSk7XG4gICAgICAgICAgc3lzdGVtRmV0Y2goe1xuICAgICAgICAgICAgdXJsOiAnL2xvZ2luL3ZlcmlmeUNvZGUnLFxuICAgICAgICAgIH0pXG4gICAgICAgICAgICAudGhlbigocmVzOiB3eC5SZXF1ZXN0U3VjY2Vzc0NhbGxiYWNrUmVzdWx0KSA9PiB7XG4gICAgICAgICAgICAgIGNvbnNvbGUubG9nKHJlcyk7XG4gICAgICAgICAgICAgIHJldHVybiB7XG4gICAgICAgICAgICAgICAgY29kZTogcmVzLmRhdGEudmVyaWZ5Q29kZSxcbiAgICAgICAgICAgICAgICBjb29raWU6IHJlcy5oZWFkZXJbJ1NldC1Db29raWUnXSxcbiAgICAgICAgICAgICAgfTtcbiAgICAgICAgICAgIH0pXG4gICAgICAgICAgICAudGhlbigoeyBjb29raWUgfTogeyBjb2RlOiBzdHJpbmc7IGNvb2tpZTogc3RyaW5nIH0pID0+XG4gICAgICAgICAgICAgIHN5c3RlbUZldGNoKHtcbiAgICAgICAgICAgICAgICB1cmw6ICcvYm9zcy9sb2dpbicsXG4gICAgICAgICAgICAgICAgbWV0aG9kOiAnUE9TVCcsXG4gICAgICAgICAgICAgICAgaGVhZGVyOiB7XG4gICAgICAgICAgICAgICAgICBjb29raWU6IGNvb2tpZSxcbiAgICAgICAgICAgICAgICB9LFxuICAgICAgICAgICAgICAgIGRhdGE6IHtcbiAgICAgICAgICAgICAgICAgIGNvZGUsXG4gICAgICAgICAgICAgICAgICB0b2tlbjogYXBwLmdsb2JhbERhdGEudG9rZW4sXG4gICAgICAgICAgICAgICAgfSxcbiAgICAgICAgICAgICAgfSksXG4gICAgICAgICAgICApXG4gICAgICAgICAgICAudGhlbihyZXMgPT4ge1xuICAgICAgICAgICAgICBjb25zb2xlLmxvZyhyZXMpO1xuICAgICAgICAgICAgICBjb25zdCB7XG4gICAgICAgICAgICAgICAgdG9rZW4sXG4gICAgICAgICAgICAgICAgZGF0YTogeyB1c2VySW5mbywgdXNlclJvbGVzIH0sXG4gICAgICAgICAgICAgIH0gPSByZXM7XG4gICAgICAgICAgICAgIGFwcC5nbG9iYWxEYXRhLnRva2VuID0gdG9rZW47XG4gICAgICAgICAgICAgIGFwcC5nbG9iYWxEYXRhLnVzZXJJbmZvID0gdXNlckluZm87XG4gICAgICAgICAgICAgIGFwcC5nbG9iYWxEYXRhLnVzZXJSb2xlcyA9IHVzZXJSb2xlcztcbiAgICAgICAgICAgICAgd3guaGlkZUxvYWRpbmcoKTtcbiAgICAgICAgICAgICAgd3gucmVkaXJlY3RUbyh7XG4gICAgICAgICAgICAgICAgdXJsOiAnL3BhZ2VzL2hvbWVBbmRSZXBvcnQvaG9tZUFuZFJlcG9ydCcsXG4gICAgICAgICAgICAgIH0pO1xuICAgICAgICAgICAgfSlcbiAgICAgICAgICAgIC5jYXRjaChlcnIgPT4ge1xuICAgICAgICAgICAgICBjb25zb2xlLmxvZyhlcnIpO1xuICAgICAgICAgICAgICB3eC5oaWRlTG9hZGluZygpO1xuICAgICAgICAgICAgICB3eC5zaG93VG9hc3Qoe1xuICAgICAgICAgICAgICAgIHRpdGxlOiBlcnIuZXJyTXNnLFxuICAgICAgICAgICAgICAgIGljb246ICdub25lJyxcbiAgICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICB9KTtcbiAgICAgICAgfVxuICAgICAgfSxcbiAgICB9KTtcbiAgfSxcbiAgbG9naW5IYW5kbGUoKSB7XG4gICAgY29uc29sZS5sb2coYXBwLmdsb2JhbERhdGEpO1xuICAgIGlmICh0aGlzLnZhbGlkYXRlTG9naW5EYXRhKCkpIHtcbiAgICAgIGNvbnN0IHsgYWNjb3VudCwgcHdkIH0gPSB0aGlzLmRhdGE7XG4gICAgICBjb25zb2xlLmxvZyhhY2NvdW50LCBwd2QpO1xuICAgICAgd3gucmVxdWVzdFN1YnNjcmliZU1lc3NhZ2Uoe1xuICAgICAgICB0bXBsSWRzOiBbJ1dVMnlNSEtNX3lOUExHSFJzc3RnZ3NEWW5aaEtvSElnNGhlTTJmWmtENUknXSxcbiAgICAgICAgc3VjY2VzcyhyZXMpIHtcbiAgICAgICAgICBjb25zb2xlLmxvZygnaW4gc3VjY2VzcycsIHJlcyk7XG4gICAgICAgIH0sXG4gICAgICAgIGZhaWwocmVzKSB7XG4gICAgICAgICAgY29uc29sZS5sb2coJ2luIGZhaWwnLCByZXMpO1xuICAgICAgICB9LFxuICAgICAgICBjb21wbGV0ZShyZXMpIHtcbiAgICAgICAgICBjb25zb2xlLmxvZygnaW4gY29tcGxldGUnLCByZXMpO1xuICAgICAgICAgIHd4LmxvZ2luKHtcbiAgICAgICAgICAgIHN1Y2Nlc3M6IHJlcyA9PiB7XG4gICAgICAgICAgICAgIGlmIChyZXMuY29kZSkge1xuICAgICAgICAgICAgICAgIGNvbnN0IGNvZGUgPSByZXMuY29kZTtcbiAgICAgICAgICAgICAgICB3eC5zaG93TG9hZGluZyh7IHRpdGxlOiAnJyB9KTtcbiAgICAgICAgICAgICAgICBzeXN0ZW1GZXRjaCh7XG4gICAgICAgICAgICAgICAgICB1cmw6ICcvbG9naW4vdmVyaWZ5Q29kZScsXG4gICAgICAgICAgICAgICAgfSlcbiAgICAgICAgICAgICAgICAgIC50aGVuKChyZXM6IHd4LlJlcXVlc3RTdWNjZXNzQ2FsbGJhY2tSZXN1bHQpID0+IHtcbiAgICAgICAgICAgICAgICAgICAgY29uc29sZS5sb2cocmVzKTtcbiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIHtcbiAgICAgICAgICAgICAgICAgICAgICB2ZXJpZnlDb2RlOiByZXMuZGF0YS52ZXJpZnlDb2RlLFxuICAgICAgICAgICAgICAgICAgICAgIGNvb2tpZTogcmVzLmhlYWRlclsnU2V0LUNvb2tpZSddLFxuICAgICAgICAgICAgICAgICAgICB9O1xuICAgICAgICAgICAgICAgICAgfSlcbiAgICAgICAgICAgICAgICAgIC50aGVuKFxuICAgICAgICAgICAgICAgICAgICAoe1xuICAgICAgICAgICAgICAgICAgICAgIHZlcmlmeUNvZGUsXG4gICAgICAgICAgICAgICAgICAgICAgY29va2llLFxuICAgICAgICAgICAgICAgICAgICB9OiB7XG4gICAgICAgICAgICAgICAgICAgICAgdmVyaWZ5Q29kZTogc3RyaW5nO1xuICAgICAgICAgICAgICAgICAgICAgIGNvb2tpZTogc3RyaW5nO1xuICAgICAgICAgICAgICAgICAgICB9KSA9PiB7XG4gICAgICAgICAgICAgICAgICAgICAgbGV0IG1peHB3ZCA9IG1kNShwd2QpO1xuICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBzeXN0ZW1GZXRjaCh7XG4gICAgICAgICAgICAgICAgICAgICAgICB1cmw6ICcvYm9zcy9sb2dpbicsXG4gICAgICAgICAgICAgICAgICAgICAgICBtZXRob2Q6ICdQT1NUJyxcbiAgICAgICAgICAgICAgICAgICAgICAgIGhlYWRlcjoge1xuICAgICAgICAgICAgICAgICAgICAgICAgICBjb29raWU6IGNvb2tpZSxcbiAgICAgICAgICAgICAgICAgICAgICAgIH0sXG4gICAgICAgICAgICAgICAgICAgICAgICBkYXRhOiB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgIGNvZGUsXG4gICAgICAgICAgICAgICAgICAgICAgICAgIGFjY291bnQsXG4gICAgICAgICAgICAgICAgICAgICAgICAgIHB3ZDogbWl4cHdkLFxuICAgICAgICAgICAgICAgICAgICAgICAgICB2YXJpZnlDb2RlOiB2ZXJpZnlDb2RlLFxuICAgICAgICAgICAgICAgICAgICAgICAgfSxcbiAgICAgICAgICAgICAgICAgICAgICB9KTtcbiAgICAgICAgICAgICAgICAgICAgfSxcbiAgICAgICAgICAgICAgICAgIClcbiAgICAgICAgICAgICAgICAgIC50aGVuKHJlcyA9PiB7XG4gICAgICAgICAgICAgICAgICAgIGNvbnNvbGUubG9nKHJlcyk7XG4gICAgICAgICAgICAgICAgICAgIGNvbnN0IHtcbiAgICAgICAgICAgICAgICAgICAgICB0b2tlbixcbiAgICAgICAgICAgICAgICAgICAgICBkYXRhOiB7IHVzZXJJbmZvLCB1c2VyUm9sZXMgfSxcbiAgICAgICAgICAgICAgICAgICAgfSA9IHJlcztcbiAgICAgICAgICAgICAgICAgICAgYXBwLmdsb2JhbERhdGEudG9rZW4gPSB0b2tlbjtcbiAgICAgICAgICAgICAgICAgICAgYXBwLmdsb2JhbERhdGEudXNlckluZm8gPSB1c2VySW5mbztcbiAgICAgICAgICAgICAgICAgICAgYXBwLmdsb2JhbERhdGEudXNlclJvbGVzID0gdXNlclJvbGVzO1xuICAgICAgICAgICAgICAgICAgICB0cnkge1xuICAgICAgICAgICAgICAgICAgICAgIHd4LnNldFN0b3JhZ2VTeW5jKCd0b2tlbicsIHRva2VuKTtcbiAgICAgICAgICAgICAgICAgICAgfSBjYXRjaCAoZXJyb3IpIHt9XG4gICAgICAgICAgICAgICAgICAgIHd4LmhpZGVMb2FkaW5nKCk7XG4gICAgICAgICAgICAgICAgICAgIHd4LnJlZGlyZWN0VG8oe1xuICAgICAgICAgICAgICAgICAgICAgIHVybDogJy9wYWdlcy9ob21lQW5kUmVwb3J0L2hvbWVBbmRSZXBvcnQnLFxuICAgICAgICAgICAgICAgICAgICB9KTtcbiAgICAgICAgICAgICAgICAgIH0pXG4gICAgICAgICAgICAgICAgICAuY2F0Y2goZXJyID0+IHtcbiAgICAgICAgICAgICAgICAgICAgY29uc29sZS5sb2coZXJyKTtcbiAgICAgICAgICAgICAgICAgICAgd3guaGlkZUxvYWRpbmcoKTtcbiAgICAgICAgICAgICAgICAgICAgd3guc2hvd1RvYXN0KHtcbiAgICAgICAgICAgICAgICAgICAgICB0aXRsZTogZXJyLmVyck1zZyxcbiAgICAgICAgICAgICAgICAgICAgICBpY29uOiAnbm9uZScsXG4gICAgICAgICAgICAgICAgICAgIH0pO1xuICAgICAgICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgd3guc2hvd1RvYXN0KHtcbiAgICAgICAgICAgICAgICAgIHRpdGxlOiAn55m75b2V6I635Y+WY29kZeWksei0pScsXG4gICAgICAgICAgICAgICAgICBpY29uOiAnbm9uZScsXG4gICAgICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgfSk7XG4gICAgICAgIH0sXG4gICAgICB9KTtcbiAgICB9XG4gICAgLy8gZmV0Y2goKVxuICAgIC8vIHd4LnJlZGlyZWN0VG8oe1xuICAgIC8vICAgdXJsOiAnL3BhZ2VzL2hvbWUvaG9tZSdcbiAgICAvLyB9KVxuICB9LFxuICBjb2RlTG9naW4oKSB7XG4gICAgd3gubG9naW4oe1xuICAgICAgc3VjY2VzczogcmVzID0+IHtcbiAgICAgICAgaWYgKHJlcy5jb2RlKSB7XG4gICAgICAgICAgY29uc3QgY29kZSA9IHJlcy5jb2RlO1xuICAgICAgICAgIHN5c3RlbUZldGNoKHtcbiAgICAgICAgICAgIHVybDogJy9ib3NzL2xvZ2luJyxcbiAgICAgICAgICAgIG1ldGhvZDogJ1BPU1QnLFxuICAgICAgICAgICAgZGF0YToge1xuICAgICAgICAgICAgICBjb2RlLFxuICAgICAgICAgICAgfSxcbiAgICAgICAgICB9KVxuICAgICAgICAgICAgLnRoZW4ocmVzID0+IHtcbiAgICAgICAgICAgICAgY29uc29sZS5sb2cocmVzKTtcbiAgICAgICAgICAgICAgY29uc3Qge1xuICAgICAgICAgICAgICAgIHRva2VuLFxuICAgICAgICAgICAgICAgIGRhdGE6IHsgdXNlckluZm8sIHVzZXJSb2xlcyB9LFxuICAgICAgICAgICAgICB9ID0gcmVzO1xuICAgICAgICAgICAgICBhcHAuZ2xvYmFsRGF0YS50b2tlbiA9IHRva2VuO1xuICAgICAgICAgICAgICBhcHAuZ2xvYmFsRGF0YS51c2VySW5mbyA9IHVzZXJJbmZvO1xuICAgICAgICAgICAgICBhcHAuZ2xvYmFsRGF0YS51c2VyUm9sZXMgPSB1c2VyUm9sZXM7XG4gICAgICAgICAgICAgIHRyeSB7XG4gICAgICAgICAgICAgICAgd3guc2V0U3RvcmFnZVN5bmMoJ3Rva2VuJywgdG9rZW4pO1xuICAgICAgICAgICAgICB9IGNhdGNoIChlcnJvcikge31cbiAgICAgICAgICAgICAgd3guaGlkZUxvYWRpbmcoKTtcbiAgICAgICAgICAgICAgd3gucmVkaXJlY3RUbyh7XG4gICAgICAgICAgICAgICAgdXJsOiAnL3BhZ2VzL2hvbWVBbmRSZXBvcnQvaG9tZUFuZFJlcG9ydCcsXG4gICAgICAgICAgICAgIH0pO1xuICAgICAgICAgICAgfSlcbiAgICAgICAgICAgIC5jYXRjaChlcnIgPT4ge1xuICAgICAgICAgICAgICBjb25zb2xlLmxvZyhlcnIpO1xuICAgICAgICAgICAgICB3eC5oaWRlTG9hZGluZygpO1xuICAgICAgICAgICAgICB3eC5zaG93VG9hc3Qoe1xuICAgICAgICAgICAgICAgIHRpdGxlOiBlcnIuZXJyTXNnLFxuICAgICAgICAgICAgICAgIGljb246ICdub25lJyxcbiAgICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICB9KTtcbiAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICB3eC5zaG93VG9hc3Qoe1xuICAgICAgICAgICAgdGl0bGU6ICfnmbvlvZXojrflj5Zjb2Rl5aSx6LSlJyxcbiAgICAgICAgICAgIGljb246ICdub25lJyxcbiAgICAgICAgICB9KTtcbiAgICAgICAgfVxuICAgICAgfSxcbiAgICB9KTtcbiAgfSxcbiAgbmFtZUlucHV0SGFuZGxlKGUpIHtcbiAgICBjb25zdCB2YWx1ZSA9IGUuZGV0YWlsLnZhbHVlO1xuICAgIHRoaXMudXBkYXRlSW5wdXRWYWx1ZSgnYWNjb3VudCcsIHZhbHVlKTtcbiAgfSxcbiAgcGFzc3dhcmRJbm91dEhhbmRsZShlKSB7XG4gICAgY29uc3QgdmFsdWUgPSBlLmRldGFpbC52YWx1ZTtcbiAgICB0aGlzLnVwZGF0ZUlucHV0VmFsdWUoJ3B3ZCcsIHZhbHVlKTtcbiAgfSxcbiAgdXBkYXRlSW5wdXRWYWx1ZShrZXk6IHN0cmluZywgdmFsdWU6IHN0cmluZykge1xuICAgIHRoaXMuc2V0RGF0YSEoe1xuICAgICAgW2tleV06IHZhbHVlLFxuICAgIH0pO1xuICB9LFxufSk7XG4iXX0=
\ No newline at end of file
miniprogram/pages/index/index.ts
View file @
f6780eff
...
...
@@ -6,9 +6,12 @@ import { IMyApp } from '../../app';
const
app
=
getApp
<
IMyApp
>
();
Page
({
onLoad
()
{
onLoad
(
option
)
{
console
.
log
(
option
);
if
(
app
.
globalData
.
token
)
{
this
.
tokenLoagin
();
}
else
if
(
option
.
logout
)
{
// this.codeLogin();
}
else
{
this
.
codeLogin
();
}
...
...
miniprogram/pages/report/report.js
View file @
f6780eff
...
...
@@ -36,7 +36,7 @@ Component({
{
name
:
'退出登录'
,
icon
:
'../../../images/btn_Sign_out@2x.png'
,
url
:
'/pages/index/index'
,
url
:
'/pages/index/index
?logout=true
'
,
reLaunch
:
true
,
},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e1xuICAgICAgICB1cmw6ICcvb3BlcmF0ZUJhbGFuY2UvdW5wYWlkTW9uZXknLFxuICAgICAgfSlcbiAgICAgICAgLnRoZW4ocmVzID0+IHtcbiAgICAgICAgICBjb25zb2xlLmxvZyhyZXMpO1xuICAgICAgICAgIHRoaXMuc2V0RGF0YSh7XG4gICAgICAgICAgICBwbGF0Zm9ybUZlZTogcmVzLmRhdGEgPyByZXMuZGF0YS50b0ZpeGVkKDIpIDogJzAuMDAnLFxuICAgICAgICAgIH0pO1xuICAgICAgICB9KVxuICAgICAgICAuY2F0Y2goZXJyID0+IHtcbiAgICAgICAgICBjb25zb2xlLmxvZyhlcnIpO1xuICAgICAgICB9KTtcbiAgICB9LFxuICAgIHNob3dSZWNoYXJnZURpYWxvZygpIHtcbiAgICAgIGxldCBkaWFsb2cgPSB0aGlzLnNlbGVjdENvbXBvbmVudCgnI3BsYXRmb3JtRGlhbG9nJyk7XG4gICAgICBkaWFsb2cuZmV0Y2hQbGF0Zm9ybUZlZSgpO1xuICAgIH0sXG4gIH0sXG59KTtcbiJdfQ==
\ No newline at end of file
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVwb3J0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsicmVwb3J0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQ0EseUNBQWdEO0FBR2hELElBQU0sR0FBRyxHQUFHLE1BQU0sRUFBVSxDQUFDO0FBQzdCLFNBQVMsQ0FBQztJQUNSLFNBQVMsRUFBRTtRQUNULFFBQVE7WUFDTixPQUFPLENBQUMsR0FBRyxDQUFDLEdBQUcsQ0FBQyxVQUFVLENBQUMsUUFBUSxDQUFDLENBQUM7WUFDckMsSUFBSSxDQUFDLE9BQVEsQ0FBQztnQkFDWixRQUFRLEVBQUUsR0FBRyxDQUFDLFVBQVUsQ0FBQyxRQUFRO2FBQ2xDLENBQUMsQ0FBQztZQUNILElBQUksQ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G4gICAgICBkaWFsb2cuZmV0Y2hQbGF0Zm9ybUZlZSgpO1xuICAgIH0sXG4gIH0sXG59KTtcbiJdfQ==
\ No newline at end of file
miniprogram/pages/report/report.ts
View file @
f6780eff
...
...
@@ -52,7 +52,7 @@ Component({
{
name
:
'退出登录'
,
icon
:
'../../../images/btn_Sign_out@2x.png'
,
url
:
'/pages/index/index'
,
url
:
'/pages/index/index
?logout=true
'
,
reLaunch
:
true
,
},
{},
...
...
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