This commit is contained in:
2019-04-03 22:25:57 +00:00
parent c723f50abf
commit c450006448

View File

@@ -52,7 +52,7 @@
</div> </div>
</template> </template>
<script> <script>
/* eslint-disable */ /* xxeslint-disable */
export default { export default {
beforeCreate() { beforeCreate() {
//check pre-requisites exist just in case //check pre-requisites exist just in case
@@ -79,6 +79,7 @@ export default {
watch: { watch: {
date() { date() {
//this tortuous fuckery is required so that the input and change events only fire on a real change, not setup //this tortuous fuckery is required so that the input and change events only fire on a real change, not setup
var hasChanged = false; var hasChanged = false;
if (this.oldDate != null && this.date != this.oldDate) { if (this.oldDate != null && this.date != this.oldDate) {
hasChanged = true; hasChanged = true;