소스 검색

更新 'login_html.js'

WXT往昔 3 년 전
부모
커밋
a6e0316127
1개의 변경된 파일8개의 추가작업 그리고 2개의 파일을 삭제
  1. 8 2
      login_html.js

+ 8 - 2
login_html.js

@@ -1,4 +1,6 @@
-Vue.component('login',{
+$(document).ready(function () {
+  
+        Vue.component('login',{
             template:`
     <div type="login" v-on:click="on.button.exit()" v-bind:style="style.box" align="center">
         <div v-bind:style="style.frame">
@@ -211,4 +213,8 @@ Vue.component('login',{
                 };
             }
         });
-        
+        new Vue({
+            el:'#div'
+        })
+
+      })