注销问题
This commit is contained in:
parent
c136c62733
commit
4a734eb1e7
|
@ -10,7 +10,7 @@
|
||||||
</view>
|
</view>
|
||||||
<u-button type="primary" @click="loginFn('admin')" style="margin-top: 50rpx">登陆-管理员</u-button>
|
<u-button type="primary" @click="loginFn('admin')" style="margin-top: 50rpx">登陆-管理员</u-button>
|
||||||
<u-button type="primary" @click="loginFn('user')" style="margin-top: 50rpx">登陆-清洁工</u-button>
|
<u-button type="primary" @click="loginFn('user')" style="margin-top: 50rpx">登陆-清洁工</u-button>
|
||||||
<u-button type="primary" v-if="false" @click="login1Fn" style="margin-top: 50rpx">登陆13800451500-清洁工</u-button>
|
<u-button type="primary" @click="login1Fn" style="margin-top: 50rpx">登陆13800456666-清洁工</u-button>
|
||||||
<u-button type="primary" v-if="false" @click="login2Fn" style="margin-top: 50rpx">登陆18174010562-管理员</u-button>
|
<u-button type="primary" v-if="false" @click="login2Fn" style="margin-top: 50rpx">登陆18174010562-管理员</u-button>
|
||||||
<u-button type="primary" v-if="false" @click="login4Fn" style="margin-top: 50rpx">登陆18174010562-清洁工</u-button>
|
<u-button type="primary" v-if="false" @click="login4Fn" style="margin-top: 50rpx">登陆18174010562-清洁工</u-button>
|
||||||
<u-button type="primary" v-if="false" @click="login3Fn" style="margin-top: 50rpx">登陆18174010561-清洁工</u-button>
|
<u-button type="primary" v-if="false" @click="login3Fn" style="margin-top: 50rpx">登陆18174010561-清洁工</u-button>
|
||||||
|
@ -35,7 +35,7 @@ export default {
|
||||||
onLoad() {},
|
onLoad() {},
|
||||||
methods: {
|
methods: {
|
||||||
login1Fn() {
|
login1Fn() {
|
||||||
this.phone = '13800451500'
|
this.phone = '13800456666'
|
||||||
// this.phone = "18174010561";
|
// this.phone = "18174010561";
|
||||||
this.pwd = '123456'
|
this.pwd = '123456'
|
||||||
this.loginFn('user')
|
this.loginFn('user')
|
||||||
|
|
|
@ -188,6 +188,8 @@ export default {
|
||||||
},
|
},
|
||||||
|
|
||||||
toPage(path,item) {
|
toPage(path,item) {
|
||||||
|
console.log(item,'item--')
|
||||||
|
// return
|
||||||
if(item.title === '注销'){
|
if(item.title === '注销'){
|
||||||
|
|
||||||
uni.showModal({
|
uni.showModal({
|
||||||
|
@ -195,7 +197,7 @@ export default {
|
||||||
content: "确定注销吗?",
|
content: "确定注销吗?",
|
||||||
showCancel: true,
|
showCancel: true,
|
||||||
success: function (res) {
|
success: function (res) {
|
||||||
if(res.confirm){return}
|
if(!res.confirm){return}
|
||||||
// 确定退出
|
// 确定退出
|
||||||
let u = navigator.userAgent;
|
let u = navigator.userAgent;
|
||||||
let isAndroid =
|
let isAndroid =
|
||||||
|
|
Loading…
Reference in New Issue