This commit is contained in:
@@ -86,38 +86,6 @@
|
||||
//maybe split by colon first then subsplit first and last elements into days and MS
|
||||
//{"data":{"testTSDaysWMS":"22.10:15:22.0330000","testTSHMS":"05:16:33","testTS_DHMS":"5.10:15:33","testTS_MS":"00:15:33","testTS_S":"00:00:33","testTS_D":"22.00:00:00"}}
|
||||
export default {
|
||||
// created() {
|
||||
// console.log("created, value is:", this.value);
|
||||
// this.handleUpdate(this.value);
|
||||
// },
|
||||
// beforeMount() {
|
||||
// console.log("beforeMount, value is:", this.value);
|
||||
// },
|
||||
// mounted() {
|
||||
// console.log("mounted, value is:", this.value);
|
||||
// },
|
||||
// beforeUpdate() {
|
||||
// console.log("beforeUpdate, value is:", this.value);
|
||||
// },
|
||||
// updated() {
|
||||
// console.log("updated, value is:", this.value);
|
||||
// },
|
||||
// data() {
|
||||
// return {
|
||||
// internalValue: null,
|
||||
// days: 0,
|
||||
// hours: 0,
|
||||
// minutes: 0,
|
||||
// seconds: 0
|
||||
// };
|
||||
// },
|
||||
// watch: {
|
||||
// value(val) {
|
||||
// console.log("Val is ", val);
|
||||
// // this.internalValue = val;
|
||||
// this.handleUpdate(val);
|
||||
// }
|
||||
// },
|
||||
props: {
|
||||
label: String,
|
||||
rules: Array,
|
||||
@@ -198,7 +166,6 @@ export default {
|
||||
// DD.HH:MM:SS.ms
|
||||
let ret = "";
|
||||
let vm = this;
|
||||
//this.$refs.daysPicker.$refs.input.value
|
||||
let daysValue = this.$refs.daysPicker.$refs.input.value || 0;
|
||||
let hoursValue = this.$refs.hoursPicker.$refs.input.value || 0;
|
||||
let minutesValue = this.$refs.minutesPicker.$refs.input.value || 0;
|
||||
@@ -209,7 +176,6 @@ export default {
|
||||
}
|
||||
|
||||
ret += `${hoursValue}:${minutesValue}:${secondsValue}`;
|
||||
console.log("updateSpan, ret is ", ret);
|
||||
this.$emit("input", ret);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user