Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcdj-web
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
561039fe
authored
2022-11-08 17:17:09 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:弹框
1 parent
4642378b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
src/components/tanchuang/index.js
src/components/tanchuang/index.vue
src/components/tanchuang/index.js
View file @
561039f
...
...
@@ -2,9 +2,12 @@ import Vue from 'vue'
import
Popup
from
'./index.vue'
const
PopupBox
=
Vue
.
extend
(
Popup
)
Popup
.
install
=
function
(
title
,
editItem
,
data
)
{
Popup
.
install
=
function
(
title
,
editItem
,
formData
,
data
)
{
data
.
title
=
title
data
.
editItem
=
editItem
if
(
formData
)
{
data
.
formData
=
formData
}
let
instance
=
new
PopupBox
({
data
}).
$mount
()
...
...
src/components/tanchuang/index.vue
View file @
561039f
...
...
@@ -97,7 +97,6 @@ export default {
}
},
destroyed
()
{
// if appendToBody is true, remove DOM node after destroy
if
(
this
.
appendToBody
&&
this
.
$el
&&
this
.
$el
.
parentNode
)
{
this
.
$el
.
parentNode
.
removeChild
(
this
.
$el
);
}
...
...
Please
register
or
sign in
to post a comment