This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
<!DOCTYPE html>
|
<!doctype html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
|
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
|
||||||
|
|||||||
@@ -41,9 +41,9 @@ const request = (
|
|||||||
if (data.code === 401) {
|
if (data.code === 401) {
|
||||||
Taro.showModal({
|
Taro.showModal({
|
||||||
title: '提示',
|
title: '提示',
|
||||||
content: '你当前未登录,是否前往登录',
|
content: '你当前未登录,是否前往登录?',
|
||||||
confirmText: '去登录',
|
confirmText: '去登录',
|
||||||
cancelText: '取消',
|
cancelText: '先逛逛',
|
||||||
success: ({ confirm }) => {
|
success: ({ confirm }) => {
|
||||||
if (confirm) {
|
if (confirm) {
|
||||||
Taro.reLaunch({
|
Taro.reLaunch({
|
||||||
|
|||||||
Reference in New Issue
Block a user