11.29前端
This commit is contained in:
parent
36dce77987
commit
9503b84e5b
@ -23,6 +23,7 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
@ -84,9 +85,7 @@
|
|||||||
success: (rex) => {
|
success: (rex) => {
|
||||||
console.log('请求成功', rex)
|
console.log('请求成功', rex)
|
||||||
if (rex.data.code == 200) {
|
if (rex.data.code == 200) {
|
||||||
if (this.loginStatus) {
|
|
||||||
clearInterval(this.loginStatus)
|
|
||||||
}
|
|
||||||
uni.setStorageSync('App-Token', rex.data.token);
|
uni.setStorageSync('App-Token', rex.data.token);
|
||||||
if (this.returnUrl) {
|
if (this.returnUrl) {
|
||||||
uni.navigateBack()
|
uni.navigateBack()
|
||||||
|
Loading…
Reference in New Issue
Block a user