1
0
mirror of https://github.com/h3poteto/whalebird-desktop synced 2025-02-04 03:07:36 +01:00

Merge pull request #107 from h3poteto/iss-102

closes #102 Add dummy form-item in jump modal to stop reloading
This commit is contained in:
AkiraFukushima 2018-03-24 00:27:56 +09:00 committed by GitHub
commit 842d293bc9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,6 +10,10 @@
<li v-for="c in filterdChannel" :class="c.name === selectedChannel.name ? 'channel-list-item selected' : 'channel-list-item'" @click="jump(c)" @mouseover="changeSelected(c)">{{ c.name }}</li>
</ul>
</div>
<!-- Dummy form to guard submitting with enter -->
<el-form-item class="hidden">
<el-input></el-input>
</el-form-item>
</el-form>
</el-dialog>
</template>
@ -124,5 +128,9 @@ export default {
}
}
}
.hidden {
display: none;
}
}
</style>