我在将记录保存到<template>
<div>
<!-- Modal Component -->
<b-modal title="Tell us a little about yourself, please." v-model="isLoginModalOpen" @ok="submitForm">
<div class="row">
<div class="col-sm-12">
<b-form-fieldset label="Name">
<b-form-input type="text" id="name" v-model="name" placeholder="Enter your name"></b-form-input>
</b-form-fieldset>
</div>
</div><!--/.row-->
<div class="row">
<div class="col-sm-12">
<b-form-fieldset label="Email">
<b-form-input type="text" v-model="email" id="email" placeholder="Enter your email"></b-form-input>
</b-form-fieldset>
</div>
</div>
</b-modal>
</div>
</template>
<script>
import Form from '../models/Form';
export default {
name : "login",
data : function (){
return {
isLoginModalOpen : true,
name : "",
email : ""
}
},
methods: {
submitForm(evt){
evt.preventDefault()
alert('Submit form')
}
},
mounted() {
}
}
</script>
tblholidays
我遇到错误
“假日”列不能为空。
我仍在尝试学习如何使用参数,有人可以帮忙吗?