Kaynağa Gözat

提交代码

ZaiZai 2 yıl önce
ebeveyn
işleme
9abb338ca0
1 değiştirilmiş dosya ile 6 ekleme ve 6 silme
  1. 6 6
      src/App.vue

+ 6 - 6
src/App.vue

@@ -3,12 +3,12 @@
 </template>
 
 <script setup>
-import {onMounted} from 'vue';
-import {ElLoading, ElMessage, ElMessageBox, ElNotification} from 'element-plus'
+import { onMounted } from 'vue'
+import { ElLoading, ElMessage, ElMessageBox, ElNotification } from 'element-plus'
 onMounted(() => {
-    window['$loading'] = ElLoading;
-    window['$messageBox'] = ElMessageBox;
-    window['$message'] = ElMessage;
-    window['$notification'] = ElNotification;
+    window['$loading'] = ElLoading
+    window['$messageBox'] = ElMessageBox
+    window['$message'] = ElMessage
+    window['$notification'] = ElNotification
 })
 </script>