單項(xiàng)選擇題Vue中,哪個(gè)指令用于條件性地渲染一個(gè)元素?()
A.v-if
B.v-else
C.v-show
D.v-for
您可能感興趣的試卷
你可能感興趣的試題
1.單項(xiàng)選擇題在Vue實(shí)例中,哪個(gè)選項(xiàng)用于定義響應(yīng)式數(shù)據(jù)?()
A.methods
B.data
C.computed
D.watch
2.單項(xiàng)選擇題在Vue中,哪個(gè)選項(xiàng)是用于聲明組件的選項(xiàng)?()
A.data
B.methods
C.name
D.computed

最新試題
Spring Boot的自動(dòng)配置功能是通過()注解實(shí)現(xiàn)的。
題型:填空題
在Spring Boot中,要配置數(shù)據(jù)源,我們通常會在()文件中設(shè)置數(shù)據(jù)庫的連接信息。
題型:填空題
Spring Boot的@RestController注解和@Controller注解在功能上是完全相同的。
題型:判斷題
Vue Router的<router-link>組件用于在Vue應(yīng)用中實(shí)現(xiàn)頁面之間的跳轉(zhuǎn)。
題型:判斷題
Vue Router中,定義路由時(shí)通常使用path和component兩個(gè)屬性,其中path表示路由的路徑,而component則表示要渲染的()。
題型:填空題