mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-uniapp.git
synced 2025-12-17 16:05:53 +08:00
优化小程序登录跳转部分代码.新增全局条件编译跳转方法
This commit is contained in:
@@ -36,9 +36,8 @@ export default {
|
||||
duration: 3000,
|
||||
title: "请先登录!",
|
||||
});
|
||||
uni.redirectTo({
|
||||
url: "/pages/passport/login",
|
||||
});
|
||||
|
||||
this.$options.filters.navigateToLogin("redirectTo");
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
||||
Reference in New Issue
Block a user