Socket
Socket
Sign inDemoInstall

egg-born-module-a-base-sync

Package Overview
Dependencies
89
Maintainers
1
Versions
354
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.8.55 to 4.8.56

14

front/src/components/atom/action/actionSubmit.js

@@ -10,7 +10,13 @@ export default {

}
// confirm
// key
const key = { atomId: item.atomId, itemId: item.itemId };
// step one: write
const options = {
saveDraftOnly: false,
};
await ctx.$api.post('/a/base/atom/write', { key, item, options });
// step middle: confirm
await ctx.$view.dialog.confirm(this.$text('AtomActionSubmitConfirm'));
// submit
const key = { atomId: item.atomId, itemId: item.itemId };
const data = await ctx.$api.post('/a/base/atom/writeSubmit', { key, item });
// step two: submit
const data = await ctx.$api.post('/a/base/atom/submit', { key });
if (data.formal) {

@@ -17,0 +23,0 @@ // delete draft

{
"name": "egg-born-module-a-base-sync",
"version": "4.8.55",
"version": "4.8.56",
"title": "Base",

@@ -5,0 +5,0 @@ "eggBornModule": {

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc