Commit 892c0ac9 by zhangquan

修改bug

1 parent 11b34552
...@@ -102,9 +102,7 @@ export default Vue.extend({ ...@@ -102,9 +102,7 @@ export default Vue.extend({
getData() { getData() {
const toolbar = DomEditor.getToolbar(this.editor) const toolbar = DomEditor.getToolbar(this.editor)
const curToolbarConfig = toolbar.getConfig() const curToolbarConfig = toolbar.getConfig()
console.log(curToolbarConfig.toolbarKeys)
event.preventDefault() event.preventDefault()
console.log(this.editor.getHtml())
// return false // return false
}, },
insertNode() { insertNode() {
......
...@@ -19,6 +19,13 @@ export default { ...@@ -19,6 +19,13 @@ export default {
goodIndex, goodIndex,
prodIndex prodIndex
}, },
beforeRouteEnter(to, from, next) {
next(vm => {
if (from.path.indexOf('/ContractManager/addTmpl') == 0 && from.path.indexOf('skuId') == -1) {
vm.tabId = '2'
}
})
},
data() { data() {
return { return {
tabId: '1', tabId: '1',
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!