File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change 4949 <t-dialog
5050 :visible.sync =" visibleShowInAttachedElement"
5151 header =" 对话框仅展示在挂载元素区域"
52+ attach =" .dialog-attach-wrap"
5253 :showInAttachedElement =" true"
5354 placement =" center"
5455 :onConfirm =" () => (this.visibleShowInAttachedElement = false)"
Original file line number Diff line number Diff line change @@ -153,7 +153,7 @@ export default mixins(
153153 return ! this . isFullScreen ? { width : getCSSValue ( this . width ) , ...this . dialogStyle } : { ...this . dialogStyle } ; // width全屏模式不生效;
154154 } ,
155155 computedAttach ( ) : AttachNode {
156- return this . showInAttachedElement || this . isNormal ? undefined : this . attach || this . globalAttach ( ) ;
156+ return this . isNormal ? undefined : this . attach || this . globalAttach ( ) ;
157157 } ,
158158 } ,
159159
You can’t perform that action at this time.
0 commit comments