Commit 892c0ac9 by zhangquan

修改bug

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