Commit d5dd14ec by 胡悦

提交群发

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