src/components/elalert.vue
@@ -1,7 +1,7 @@ <!-- --> <template> <div v-if="$store.state.elAlertShow"> <el-alert :closable="closable" :title="$t($store.state.elAlertText)" :type="$store.state.elAlertType" center style="z-index:99999999999999999;position: fixed;top: 0;bottom: 0;margin: auto;"> <el-alert :closable="closable" :title="$store.state.elAlertText" :type="$store.state.elAlertType" center style="z-index:99999999999999999;position: fixed;top: 0;bottom: 0;margin: auto;"> </el-alert> </div>