** Here I have v-select element it is not showing for the first element, Vuetify v-select element. Please help **
<template>
<v-app id="inspire">
<v-container align="center">
<v-row>
<v-col cols="12" sm="3" class="categ">
<v-select
cols="12"
sm="3"
class=""
@change="setD"
:items="categories"
v-model="content.cat"
outlined
label="Select Category"
></v-select>
</v-col>
<v-col cols="12" sm="3" class="key">
<v-combobox
@change="setD"
outlined
label="Input Key"
v-model="content.key"
></v-combobox>
</v-col>
<v-row
class="childElements"
v-for="(find, index) in content.data"
:key="index"
>
<v-col cols="12" sm="6" class="key">
<v-select
@change="setD"
:items="languages"
v-model="find.lang"
outlined
label="Select Language"
></v-select>
</v-col>
<v-col xs4 class="childTwo">
<v-combobox
@change="setD"
v-model="find.cont"
outlined
class=""
label="Input Content"
></v-combobox>
</v-col>
</v-row>
</v-row>
<v-row justify="center" class="buttonRow">
<v-btn color="#96CEB4" @click="addFind" class="btnv"
><v-icon class="iconel">mdi-plus</v-icon>
</v-btn>
</v-row>
</v-container>
</v-app>
</template>**这里我有一个v-select元素,它不是为第一个元素Vuetify v-select元素显示的。有什么办法来解决它,请分享你的想法和答案,我非常感谢*在这里我有v-选择元素,它没有显示为第一个元素,Vuetify v-select元素。有什么办法解决这个问题吗?请告诉我你的想法和答案,我非常感激。
发布于 2022-01-25 19:30:50
你用的道具不应该在这里。
<v-select
@change="setD"
:items="categories"
v-model="content.cat"
outlined
label="Select Category"/>你确定categories和content存在于data()中吗?
https://stackoverflow.com/questions/70827803
复制相似问题