Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
rbc-demo
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王衍超
rbc-demo
Commits
7c7f7f99
Commit
7c7f7f99
authored
Apr 29, 2022
by
Joey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(@gms/gms-plugin-billexpand): 配合gms-view修改点击事件
parent
98b88c3f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
edit-modal.vue
...ugin-billexpand/src/control/baseDataSelect/edit-modal.vue
+2
-2
index.vue
...ms-plugin-billexpand/src/control/baseDataSelect/index.vue
+5
-0
No files found.
develop/@gms/gms-plugin-billexpand/src/control/baseDataSelect/edit-modal.vue
View file @
7c7f7f99
...
...
@@ -136,10 +136,10 @@ export default {
window
.
onresize
=
()
=>
{
this
.
getModalHeight
()
}
this
.
$refs
.
modal
.
$el
.
addEventListener
(
'
click
'
,
this
.
stopPropagation
)
this
.
$refs
.
modal
.
$el
.
addEventListener
(
'
mousedown
'
,
this
.
stopPropagation
)
},
beforeDestroy
()
{
this
.
$refs
.
modal
.
$el
.
remove
eventlistener
(
'click
'
,
this
.
stopPropagation
)
this
.
$refs
.
modal
.
$el
.
remove
EventListener
(
'mousedown
'
,
this
.
stopPropagation
)
},
methods
:
{
stopPropagation
(
event
)
{
...
...
develop/@gms/gms-plugin-billexpand/src/control/baseDataSelect/index.vue
View file @
7c7f7f99
...
...
@@ -194,12 +194,17 @@ export default {
},
mounted
()
{
this
.
addDomListener
()
this
.
$refs
.
searchList
.
addEventListener
(
'mousedown'
,
this
.
stopPropagation
)
addResizeListener
(
this
.
$el
,
this
.
handleResize
)
},
beforeDestroy
()
{
this
.
$refs
.
searchList
.
removeEventListener
(
'mousedown'
,
this
.
stopPropagation
)
this
.
removeDomListener
()
},
methods
:
{
stopPropagation
(
event
)
{
event
.
stopPropagation
()
},
getLable
(
val
)
{
if
(
this
.
showtype
===
'CODE'
||
this
.
showtype
===
'0'
)
{
return
val
.
code
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment