@steedos-widgets/amis-object 3.6.1 → 3.6.2-beta.1
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/dist/amis-object.cjs.js
CHANGED
|
@@ -4785,16 +4785,17 @@ async function getQuickEditSchema(field, options){
|
|
|
4785
4785
|
{
|
|
4786
4786
|
actionType: "custom",
|
|
4787
4787
|
script: `
|
|
4788
|
+
console.log("asdasd");
|
|
4788
4789
|
let items = _.cloneDeep(event.data.items);
|
|
4789
4790
|
let selectedItems = _.cloneDeep(event.data.selectedItems);
|
|
4790
4791
|
if(event.data.isBatchEdit){
|
|
4791
4792
|
selectedItems.forEach(function(selectedItem){
|
|
4792
4793
|
selectedItem._display.${field.name} = event.data._display.${field.name};
|
|
4793
|
-
doAction({actionType: 'setValue', "args": {"value": selectedItem._display},componentId: ${options.objectName} + "_display_" + selectedItem._index});
|
|
4794
|
+
doAction({actionType: 'setValue', "args": {"value": selectedItem._display},componentId: "${options.objectName}" + "_display_" + selectedItem._index});
|
|
4794
4795
|
doAction({actionType: 'setValue', "args": {"value": event.data.${field.name}},componentId: "${options.objectName + "_" + field.name + "_"}" + selectedItem._index});
|
|
4795
4796
|
})
|
|
4796
4797
|
}else{
|
|
4797
|
-
doAction({actionType: 'setValue', "args": {"value": event.data._display},componentId: ${options.objectName} + "_display_" + event.data._index});
|
|
4798
|
+
doAction({actionType: 'setValue', "args": {"value": event.data._display},componentId: "${options.objectName}" + "_display_" + event.data._index});
|
|
4798
4799
|
doAction({actionType: 'setValue', "args": {"value": event.data.${field.name}},componentId: "${options.objectName + "_" + field.name + "_"}" + event.data._index});
|
|
4799
4800
|
}
|
|
4800
4801
|
`
|