Replace inline style with v-show to control Detect Result's visibility.
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<section class="py-1 text-center container">
|
||||
<div class="row py-lg-3">
|
||||
<div class="col-lg-6 col-md-8 mx-auto" :hidden="!visible">
|
||||
<div class="col-lg-6 col-md-8 mx-auto">
|
||||
<h1 class="mb-3 text-center">Detect Result</h1>
|
||||
<img
|
||||
class="img-thumbnail my-2 w-25"
|
||||
@ -23,7 +23,6 @@ export default {
|
||||
diseaseName: { type: String },
|
||||
imageUrl: { type: String },
|
||||
trustworthiness: { type: Number },
|
||||
visible: { tyep: Boolean, default: false },
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
Reference in New Issue
Block a user