單項(xiàng)選擇題通過()方法可以定義事件處理函數(shù)

A.methods
B.created
C.watch
D.mounted


您可能感興趣的試卷

你可能感興趣的試題

1.單項(xiàng)選擇題以下哪個(gè)不屬于vue的生命周期函數(shù)?()

A.mounted()
B.destoryed()
C.beforeeach()
D.create()

2.單項(xiàng)選擇題下列選項(xiàng)中,用來安裝vue模塊的正確命令是()

A.npm install vue
B.npm uninstall vue
C.node.js install vue
D.node install vue

3.單項(xiàng)選擇題下面哪句代碼表示,單擊觸發(fā)"addnote"事件處理函數(shù)?()

A.< button :dbclick="addnote()">< /button>
B.< button @dbclick="addnote()">< /button>
C.< button @click="addnote()">< /button>
D.< button :click="addnote()">< /button>

4.單項(xiàng)選擇題當(dāng)路由導(dǎo)航到該路徑時(shí),才動態(tài)加載該組件,稱為()

A.路由慢加載
B.路由加載
C.路由懶加載
D.路由快加載