| | |
| | | }) |
| | | } |
| | | |
| | | return new Promise(function(resolve, reject) { |
| | | return new Promise(function (resolve, reject) { |
| | | |
| | | let token = 'Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOjE4OTI0MjE4MjgwODU4Mzc4MjYsInR5cGUiOjEsImV4cCI6MTc0MTY5ODg0OCwiY3JlYXRlZCI6MTc0MDQwMjg0ODMzN30.7IYRD37yTkhqcnKyXWcqKk_iTisMp3ar_ByfuVR7Go9rK8ZnGJrlwC3z4NF_ly7IIoBHgE2E4IAvfm3ccam8wg' |
| | | let header = { |
| | |
| | | title: '提示', |
| | | content: str, |
| | | showCancel: false, |
| | | success: function(res) { |
| | | success: function (res) { |
| | | if (res.confirm) { |
| | | // if (routeStr == 'pages/login/index') { |
| | | // uni.reLaunch({ |