更改首页

This commit is contained in:
952108534@qq.com 2022-01-28 14:04:55 +08:00
parent d0ea3582dd
commit c98990f728

View File

@ -1070,6 +1070,7 @@ export default {
mobileVideoPlaying: false,
usertitle: "明星猫粮",
dogtitle: "明星犬粮",
userdata:'999999',
processinformation: [],
catshi: [],
userindex: 0,
@ -1413,7 +1414,6 @@ export default {
// console.log("1");
// }
if (this.realIndex == 2) {
console.log(vm.userdata.data.id)
// setTimeout(() => {
// var option = {
// customer: {
@ -1496,7 +1496,11 @@ export default {
watch: {},
mounted() {
this.checkIsLogin();
this.userdata = this.$store.state.userInfo;
if(this.$store.state.userInfo===undefined){
this.userdata=' '
}else{
this.userdata = this.$store.state.userInfo.data.id;
}
console.log(this.userdata);
const that = this;
@ -1521,19 +1525,17 @@ export default {
},
methods: {
diaoqi(){
console.log('----');
setTimeout(() => {
var option = {
customer: {
id: "",
name: "",
email: "",
mobile: "",
memberId: vm.userdata.data.id,
memberId: this.userdata,
},
};
dis_livchat(option);
}, 500);
},
...mapMutations(["checkIsLogin"]),
playMobileVideo(item) {