💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
>[danger] v-bind 绑定属性 [https://cn.vuejs.org/v2/api/#v-bind](https://cn.vuejs.org/v2/api/#v-bind) >[danger] 示例 ```html <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Document</title> <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script> </head> <body> <div id="site"> <p v-bind:id="num"></p> <p v-bind:class="{act:isActive}"></p> <p v-bind:class="[t1, t2]"></p> </div> </body> <script> var app = new Vue({ el: "#site", data: { num: 'title', show: false,//true false isActive: false,// true false t1: 'abc', t2: '', } }) console.log(app) </script> </html> ```