doway-coms 2.7.1 → 2.7.3
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 +1 -1
- package/packages/BaseDate/src/index.vue +1 -1
- package/packages/BaseGrid/src/index.vue +3 -2
- package/dist/css/chunk-vendors.7f83d8f9.css +0 -8
- package/dist/css/index.7946d50b.css +0 -1
- package/dist/favicon.ico +0 -0
- package/dist/js/chunk-vendors.28fda91d.js +0 -340
- package/dist/js/index.49bc6add.js +0 -2
- package/lib/doway-coms.common.js +0 -120397
- package/lib/doway-coms.css +0 -1
- package/lib/doway-coms.umd.js +0 -120407
- package/lib/doway-coms.umd.min.js +0 -328
package/package.json
CHANGED
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
{{ moment(currentValue).format("YYYY-MM-DD") }}
|
|
40
40
|
</template>
|
|
41
41
|
<span @contextmenu.prevent="(event) => onContextmenu(event, currentValue)">
|
|
42
|
-
{{ moment(currentValue).format("YYYY-MM-DD") }}
|
|
42
|
+
{{ currentValue?moment(currentValue).format("YYYY-MM-DD"):currentValue }}
|
|
43
43
|
</span>
|
|
44
44
|
</Tooltip>
|
|
45
45
|
</div>
|
|
@@ -2001,7 +2001,7 @@ export default {
|
|
|
2001
2001
|
}
|
|
2002
2002
|
if (originCol.controlType === controlType.date) {
|
|
2003
2003
|
colParams['pastDate'] = originCol.pastDate == undefined ? true : false
|
|
2004
|
-
colParams['disabledDateValue'] =
|
|
2004
|
+
colParams['disabledDateValue'] =
|
|
2005
2005
|
originCol.disabledDateValue == undefined ? 0: originCol.disabledDateValue
|
|
2006
2006
|
}
|
|
2007
2007
|
colParams['disableUserVisible'] = originCol.disableUserVisible === true
|
|
@@ -2429,7 +2429,7 @@ export default {
|
|
|
2429
2429
|
editActived(scope) {
|
|
2430
2430
|
let colElId = scope.column.id
|
|
2431
2431
|
let rowElId = scope.row._X_ROW_KEY
|
|
2432
|
-
//如果用了rowConfig里的keyField
|
|
2432
|
+
//如果用了rowConfig里的keyField
|
|
2433
2433
|
if(this.rowConfig!=null&&this.rowConfig.keyField){
|
|
2434
2434
|
rowElId=scope.row[this.rowConfig.keyField]
|
|
2435
2435
|
}
|
|
@@ -3313,6 +3313,7 @@ export default {
|
|
|
3313
3313
|
let tempObject = vm.defaultPostData.fields.find(
|
|
3314
3314
|
(x) => x.field == item.field
|
|
3315
3315
|
)
|
|
3316
|
+
if (!tempObject) return
|
|
3316
3317
|
let tempData = {
|
|
3317
3318
|
field: item.field,
|
|
3318
3319
|
sort: index + 1,
|