mirror of
https://gitee.com/lab1024/smart-admin.git
synced 2025-11-17 16:13:48 +08:00
Bug list updated
This commit is contained in:
@@ -88,13 +88,13 @@ export default {
|
||||
message: "手机号码输入有误",
|
||||
});
|
||||
return;
|
||||
} else if (this.alladdress === "") {
|
||||
} else if (!this.alladdress || this.alladdress === "") {
|
||||
this.$message({
|
||||
type: "warning",
|
||||
message: "请输入详细地址",
|
||||
});
|
||||
return;
|
||||
} else if (this.userpeople === "") {
|
||||
} else if (!this.userpeople || this.userpeople === "") {
|
||||
this.$message({
|
||||
type: "warning",
|
||||
message: "请输入姓名",
|
||||
|
||||
@@ -169,7 +169,7 @@ export default {
|
||||
break;
|
||||
case 1:
|
||||
//Checking City
|
||||
if(obj.id.indexOf(provinceId)<0)
|
||||
if(obj.id.toString().indexOf(provinceId)<0)
|
||||
{
|
||||
console.log('500 : error via checking validatePickedValues');
|
||||
_self.returnValueArr.splice(index,1);
|
||||
@@ -183,7 +183,7 @@ export default {
|
||||
break;
|
||||
case 2:
|
||||
//Checking Area
|
||||
if(areaId && obj.id.indexOf(areaId)<0)
|
||||
if(areaId && obj.id.toString().indexOf(areaId)<0)
|
||||
{
|
||||
console.log('501 : error via checking validatePickedValues');
|
||||
_self.returnValueArr.splice(index,1);
|
||||
@@ -226,7 +226,7 @@ export default {
|
||||
stringStartWith=stringStartWith+"-";
|
||||
let result=[];
|
||||
dataColArea.forEach(function(ele){
|
||||
if(ele.id.indexOf(stringStartWith)===0)
|
||||
if(ele.id.toString().indexOf(stringStartWith)===0)
|
||||
{
|
||||
result.push(ele);
|
||||
}
|
||||
@@ -462,6 +462,9 @@ export default {
|
||||
padding-bottom:.25rem;
|
||||
background:url("../assets/image/ico-location.png") no-repeat 98% center;
|
||||
background-size:16px;
|
||||
position:relative;
|
||||
top:.5rem;
|
||||
padding-left:.875rem;
|
||||
}
|
||||
.ts-area-picker-mobile{
|
||||
display:flex;
|
||||
@@ -485,7 +488,7 @@ export default {
|
||||
display:none;
|
||||
}
|
||||
.ts-area-picker-container,.ts-area-picker-value-displayer{
|
||||
width:42.5rem;
|
||||
width:42.25rem;
|
||||
}
|
||||
.ts-area-picker-value-displayer{
|
||||
padding-left:1rem;
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
|
||||
<a class="rc-xl-up rc-btn rc-btn--icon rc-icon ts-login--xs rc-iconography rc-interactive" aria-label="login" @click="turnlogin">
|
||||
<span class="rc-screen-reader-text">
|
||||
登录
|
||||
个人中心
|
||||
</span>
|
||||
<em class="rc-screen-reader" v-show="loginornot"></em>
|
||||
</a>
|
||||
@@ -306,7 +306,7 @@
|
||||
<li class="rc-list__item">
|
||||
<a class="rc-list__link rc-icon ts-login--xs rc-iconography--xs" role="menuitem" href="javascript:void();" @click="turnlogin">
|
||||
个人中心
|
||||
<em class="rc-screen-reader"></em>
|
||||
<em class="rc-screen-reader" v-if="loginornot"></em>
|
||||
</a>
|
||||
</li>
|
||||
<li class="rc-list__item">
|
||||
@@ -362,9 +362,9 @@ export default {
|
||||
let usernot=this.$store.state.userInfo;
|
||||
//console.log(usernot);
|
||||
if(usernot){
|
||||
this.loginornot=true
|
||||
}else{
|
||||
this.loginornot=false
|
||||
}else{
|
||||
this.loginornot=true
|
||||
this.usermessage=usernot;
|
||||
}
|
||||
if(isInitialized)
|
||||
@@ -402,14 +402,16 @@ export default {
|
||||
},
|
||||
//判断有无登录跳转不同页面
|
||||
turnlogin(){
|
||||
if(this.usermessage==null||this.usermessage==undefined){
|
||||
this.$router.push({ name: "userlogin-login",
|
||||
params:{id:12,key:'222'}
|
||||
})
|
||||
let userInfo = this.$store.state.userInfo;
|
||||
if(!userInfo){
|
||||
this.$router.push({
|
||||
name: "userlogin-login",
|
||||
params:{}
|
||||
})
|
||||
}else{
|
||||
this.$router.push({ name: "personal-mypersonal",
|
||||
|
||||
})
|
||||
this.$router.push({
|
||||
name: "personal-mypersonal",
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user