Commit d5dd14ec by 胡悦

提交群发

1 parent 108b9a1a
......@@ -306,7 +306,7 @@ export default {
this.membersVisible = !this.membersVisible
},
handleCancel() {
// this.$router.push('/customerTransform/index', { name: 'customer' })
// this.$router.push('/customerTransform/index')
this.$router.go(-1)
},
// 成员弹窗
......
......@@ -3,6 +3,7 @@
<div
class="w-textarea_input"
ref="wTextareaContent"
contenteditable="true"
:id="contentId"
@click="inputClick($event)"
@focus="isLocked = true"
......@@ -243,7 +244,7 @@ $textColor: #666;
position: relative;
&_input {
width: 100%;
min-height: 100px;
min-height: 200px;
box-sizing: border-box;
padding: 10px;
line-height: 1.5;
......
......@@ -204,14 +204,12 @@ export default {
}
}
},
watch: {
$route(val) {
console.log(val)
if (val.path == '/customerTransform/index') {
this.$refs.customer.refreshTable()
this.$refs.customerGroup.refreshTable()
}
}
beforeRouteEnter(to, from, next) {
next(vm => {
const path = from.path
const pathArr = path.split('/')
if (pathArr[2] == 'addCustomerGroup' || pathArr[2] == 'detaiCustomeGroup') vm.activeIndex = 2
})
},
methods: {
switchMenu(val) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!