Article From:https://segmentfault.com/q/1010000014043871
Question:


The dashboard on the left is a component
<div class=”setting-item”><span @click=”folderEdit”>Editor < /span> < /div>

<el-dialog
  title="Prompt"Visible.sync= "folderEditShow"Width= "30%"Fullscreen>< span> this is a piece of information < /span&gT;< span slot= "footer" class= "dialog-footer" >< el-button @click= "dialogVisible = FALSE "> cancel < /el-button>< el-button type= "primary" @click= "dialogVisible = false" > determine &lT; /el-button>< /span>< /el-dialog>{(folderEdit)This.folderEditShow = true}

How can it be the middle position of the dialog box in the entire window?

Answer 0:

Guess that the style is polluted. You can check the elements in dialog right click to see the screenshots.

Answer 1:

Leave a Reply

Your email address will not be published. Required fields are marked *