This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user