mirror of
https://gitee.com/lab1024/smart-admin.git
synced 2025-10-02 02:06:38 +08:00
更改首页
This commit is contained in:
parent
d0ea3582dd
commit
c98990f728
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user