mirror of
https://github.com/directus/directus.git
synced 2026-01-29 11:27:56 -05:00
Use html attr style in components
This commit is contained in:
@@ -71,7 +71,7 @@
|
||||
<v-card>
|
||||
<v-card-title>{{ $t('upload_from_device') }}</v-card-title>
|
||||
<v-card-text>
|
||||
<v-upload @upload="onUpload" fromUrl />
|
||||
<v-upload @upload="onUpload" from-url />
|
||||
</v-card-text>
|
||||
<v-card-actions>
|
||||
<v-button @click="activeDialog = null" secondary>{{ $t('cancel') }}</v-button>
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
<v-dialog v-model="showUpload">
|
||||
<v-card>
|
||||
<v-card-title>{{ $t('upload_file') }}</v-card-title>
|
||||
<v-card-text><v-upload @upload="onUpload" multiple fromUrl /></v-card-text>
|
||||
<v-card-text><v-upload @upload="onUpload" multiple from-url /></v-card-text>
|
||||
<v-card-actions>
|
||||
<v-button @click="showUpload = false">{{ $t('done') }}</v-button>
|
||||
</v-card-actions>
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
/>
|
||||
<file-lightbox v-model="lightboxActive" :id="image.id" />
|
||||
</div>
|
||||
<v-upload v-else @upload="setImage" fromLibrary fromUrl />
|
||||
<v-upload v-else @upload="setImage" from-library from-url />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<v-card>
|
||||
<v-card-title>{{ $t('add_file') }}</v-card-title>
|
||||
<v-card-text>
|
||||
<v-upload :preset="preset" multiple @upload="close" fromUrl />
|
||||
<v-upload :preset="preset" multiple @upload="close" from-url />
|
||||
</v-card-text>
|
||||
<v-card-actions>
|
||||
<v-button secondary @click="close">{{ $t('done') }}</v-button>
|
||||
|
||||
Reference in New Issue
Block a user