32 lines
596 B
Vue
32 lines
596 B
Vue
<template>
|
|
<div class="index-page">
|
|
<div class="index-page__content">
|
|
<input v-model="diagramId" type="text" placeholder="Введите ID диаграммы">
|
|
<button @click="$router.push(`/${diagramId}`)">
|
|
Редактировать
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
import { ref } from 'vue'
|
|
|
|
const diagramId = ref('')
|
|
</script>
|
|
|
|
<style lang="scss">
|
|
.index-page {
|
|
display: flex;
|
|
height: 100%;
|
|
|
|
&__content {
|
|
margin: auto;
|
|
width: 400px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
}
|
|
}
|
|
</style>
|