doway-coms 2.10.99 → 2.11.0
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
|
@@ -506,7 +506,7 @@ export default {
|
|
|
506
506
|
let tempRemoveRows = XEUtils.filter(this.internalRows, p => p.sysRowState === 'delete' && p.id !== 'sys_top_folder')
|
|
507
507
|
let tempAddRows = XEUtils.filter(this.internalRows, p => p.sysRowState === 'add' && p.id !== 'sys_top_folder')
|
|
508
508
|
let tempUpdateRows = XEUtils.filter(this.internalRows, p => p.sysRowState === 'update' && p.id !== 'sys_top_folder')
|
|
509
|
-
let tempRows = XEUtils.union(tempRemoveRows, tempAddRows, tempUpdateRows)
|
|
509
|
+
let tempRows = XEUtils.clone(XEUtils.union(tempRemoveRows, tempAddRows, tempUpdateRows),true)
|
|
510
510
|
XEUtils.arrayEach(tempRows, p => {
|
|
511
511
|
if (p.parentId === 'sys_top_folder') {
|
|
512
512
|
p.parentId = null
|
package/packages/utils/msg.js
CHANGED
|
@@ -86,11 +86,12 @@ export function successMsg(msg, desc){
|
|
|
86
86
|
|
|
87
87
|
|
|
88
88
|
|
|
89
|
-
export function confirmMsgAsync(
|
|
89
|
+
export function confirmMsgAsync(msgObj) {
|
|
90
90
|
return new Promise((resolve, reject) => {
|
|
91
91
|
confirmMsg({
|
|
92
|
-
title: title,
|
|
93
|
-
content: content,
|
|
92
|
+
title: msgObj.title,
|
|
93
|
+
content: msgObj.content,
|
|
94
|
+
width: msgObj.width? msgObj.width : 416,
|
|
94
95
|
onOk() {
|
|
95
96
|
resolve(true)
|
|
96
97
|
},
|