<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ??碼云GVP開源項目 12k star Uniapp+ElementUI 功能強大 支持多語言、二開方便! 廣告
                ~~~ <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>組件參數校驗與非Props特性</title> <script src="vue.js"></script> </head> <body> <div id="root"> <child content="hello world" test="test"></child> <!-- <child content="123">這樣傳,123是以字符串形式出現</child>--> <!-- <child :content="123">--> <!--&lt;!&ndash; 這樣傳,123是以整數形式出現&ndash;&gt;--> <!-- </child>--> <!-- <child :content="{a:1}"></child>--> <!-- <child></child>--> </div> <script> Vue.component('child', { // props:['content'], props: { // content: String //只能是字符串 // content: Number //只能是數字 // content:[Number,String]//字符串,數字都可以 content: { type: String, // type: Object, required: true,//必須 default: 'this is default value', //默認值 // validator: function (value) { // // alert(value) // return value.length > 5 // } }, }, template: '<div>{{content}}</div>', }) var vm = new Vue({ el: '#root' }); </script> </body> </html> ~~~
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看