Vue JS - Modal form where to pass an image to show it

0

Use Vue2JS and Vue Material and what I try to do is on a grid to place a button for each row to open a modal and display a picture.

For each row I have the image content of the item "item" code I have is this, open the modal but does not show the image

    <md-dialog :md-active.sync="showDialog">
      <md-dialog-title >Foto</md-dialog-title>

      <p v-model="value">  {{ value }} </p>

      <md-dialog-actions>
        <md-button class="md-primary" @click="showDialog = false">Cerrar</md-button>
      </md-dialog-actions>
    </md-dialog>

        <md-table-cell md-label="Foto">
              <img :src="item.thumbnailPhotoUrl" v-model="value"  @click="showDialog = true"/>
        </md-table-cell>
    
asked by ilernet 18.05.2018 в 09:06
source

0 answers