让企业管理更智慧、更快捷

Skip to content
源代码提交(3)
{
"name": "@package/lwc-ui-components",
"version": "1.0.24",
"version": "1.0.25",
"private": false,
"description": "立威云UI组件库",
"author": "",
......
......@@ -209,7 +209,7 @@ if (typeof window !== 'undefined' && window.Vue) {
}
export default {
version: '1.0.21',
version: '1.0.24',
install,
LwcBasicButton,
LwcBasicButtonIcon,
......
......@@ -88,7 +88,8 @@ function renderPreviewFile(h, _vm) {
visible: _vm.previewFileDialog,
top: "10vh",
"close-on-click-modal": false,
customClass: "text-center"
customClass: "text-center",
...(_vm.dialogConfig || {})
},
on: {
"update:visible": (val) => {
......@@ -132,7 +133,8 @@ function renderAddFile(h, _vm) {
visible: _vm.addFileDialog,
top: "10%",
width: "600px",
"close-on-click-modal": false
"close-on-click-modal": false,
...(_vm.dialogConfig || {})
},
on: {
"update:visible": (val) => {
......@@ -297,6 +299,14 @@ export default {
}
}
}
},
dialogConfig: {
type: Object,
default: function() {
return {
"append-to-body": true
}
}
}
},
data() {
......