This commit is contained in:
@@ -50,7 +50,7 @@
|
||||
</v-flex>
|
||||
|
||||
<v-flex xs12 sm6 lg4 xl3 px-2>
|
||||
<v-date-picker :label="pickStartDate" v-model="pickStartDate"></v-date-picker>
|
||||
<gz-date-picker label="TESTStartDate" v-model="obj.startDate"></gz-date-picker>
|
||||
</v-flex>
|
||||
|
||||
<!-- <v-flex xs12 sm6 lg4 xl3 px-2>
|
||||
@@ -112,8 +112,9 @@
|
||||
<v-btn @click="submit">submit</v-btn>
|
||||
</v-flex>
|
||||
</v-layout>
|
||||
</form>
|
||||
</form> <div>{{obj.startDate}}</div>
|
||||
</v-flex>
|
||||
|
||||
</v-layout>
|
||||
</template>
|
||||
|
||||
@@ -170,8 +171,11 @@ export default {
|
||||
//return this.obj.startDate ? moment(this.date).format("dddd, MMMM Do YYYY") : "";
|
||||
},
|
||||
pickStartDate() {
|
||||
var copiedDate = new Date(date.getTime());
|
||||
obj.startDate.toISOString().substr(0, 10);
|
||||
return this.obj.startDate
|
||||
? dayjs(this.obj.startDate).toDate()
|
||||
: null;
|
||||
// var copiedDate = new Date(date.getTime());
|
||||
//obj.startDate.toISOString().substr(0, 10);
|
||||
}
|
||||
},
|
||||
beforeRouteEnter(to, from, next) {
|
||||
|
||||
Reference in New Issue
Block a user