|
@@ -2,7 +2,7 @@
|
|
|
<router-view>
|
|
|
<template v-slot:nav-user-info="{ info }">
|
|
|
<nav-user-info :info="info"></nav-user-info>
|
|
|
- <custom-service-corner ></custom-service-corner>
|
|
|
+ <custom-service-corner></custom-service-corner>
|
|
|
</template>
|
|
|
</router-view>
|
|
|
</template>
|
|
@@ -19,9 +19,12 @@ export default {
|
|
|
CustomServiceCorner
|
|
|
},
|
|
|
computed: {},
|
|
|
- created () {
|
|
|
+ created() {
|
|
|
// 获取客服信息
|
|
|
this.getCustomerInfo()
|
|
|
+ window.__use_top__ = () => {
|
|
|
+ return this.$root
|
|
|
+ }
|
|
|
},
|
|
|
methods: {
|
|
|
...mapActions('work-bench', ['getCustomerInfo'])
|
|
@@ -30,5 +33,5 @@ export default {
|
|
|
</script>
|
|
|
|
|
|
<style lang="scss">
|
|
|
-@import "./assets/style/index.scss";
|
|
|
+@import './assets/style/index.scss';
|
|
|
</style>
|