askbot-dragon 1.4.56 → 1.4.57

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "askbot-dragon",
3
- "version": "1.4.56",
3
+ "version": "1.4.57",
4
4
  "scripts": {
5
5
  "serve": "vue-cli-service serve",
6
6
  "build": "vue-cli-service build",
@@ -364,7 +364,7 @@
364
364
  @confirm="onConfirmCalendar($event,item)"
365
365
  />
366
366
  </div>
367
- <div v-else-if="item.formField.type==='TIME_PICKER'&&(!item.formField.extInfo.mold||item.formField.extInfo.mold==='DATA_TIME' || item.formField.extInfo.mold==='DATE_TIME' || getMoldTime(item.formField) == 'DATE_TIME')" class="form-field-item-value">
367
+ <div v-else-if="item.formField.type==='TIME_PICKER'&&(item.formField.extInfo.mold==='DATA_TIME' || item.formField.extInfo.mold==='DATE_TIME' || getMoldTime(item.formField) == 'DATE_TIME')" class="form-field-item-value">
368
368
  <van-field
369
369
  readonly
370
370
  clickable
@@ -1108,7 +1108,8 @@ export default {
1108
1108
  if (item.formField.type === "TIME_PICKER") {
1109
1109
  if (item.value.length === 5 && item.value.split(":").length === 2) {
1110
1110
  console.log(1112, item.value);
1111
- item.value = new Date().getFullYear() + "-" + (new Date().getMonth() + 1) + "-" + new Date().getDate() + " " + item.value + ":00"
1111
+ this.extInfoFieldValue[item.fieldId] = item.value;
1112
+ item.value = new Date().getFullYear() + "-" + (new Date().getMonth() + 1) + "-" + new Date().getDate() + " " + item.value + ":00";
1112
1113
  }
1113
1114
  }
1114
1115
  })