Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-presale
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 892c0ac9
authored
Dec 18, 2023
by
zhangquan
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改bug
1 parent
11b34552
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
src/components/Editor/index.vue
src/views/ContractManager/index.vue
src/components/Editor/index.vue
View file @
892c0ac
...
@@ -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
()
{
...
...
src/views/ContractManager/index.vue
View file @
892c0ac
...
@@ -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'
,
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment