Comparing version 0.2.1 to 0.2.2
{ | ||
"name": "@lcap/asl", | ||
"description": "Lowcode Application Specific Language", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"author": "Forrest <rainforest92@126.com>", | ||
@@ -6,0 +6,0 @@ "scripts": { |
@@ -26,3 +26,3 @@ import Service from 'request-pre'; | ||
if (aslConfig.cookie) | ||
headers['Cookie'] = aslConfig.cookie; | ||
headers.Cookie = aslConfig.cookie; | ||
} | ||
@@ -35,2 +35,7 @@ | ||
} | ||
Object.keys(headers).forEach((key) => { | ||
if (headers[key] === undefined) { | ||
delete headers[key]; | ||
} | ||
}); | ||
const req = axios({ | ||
@@ -37,0 +42,0 @@ params: query, |
@@ -296,2 +296,3 @@ import { immutable, circular, excludedInJSON, action } from '../decorators'; | ||
relationship: '', | ||
rules: [], | ||
}); | ||
@@ -298,0 +299,0 @@ await this.update(undefined, { |
@@ -418,3 +418,3 @@ import { immutable, circular, action, excludedInJSON } from '../decorators'; | ||
this.page.service.emit('pageTreeChange'); | ||
this.emit('change'); | ||
this.parent.emit('change'); | ||
} | ||
@@ -421,0 +421,0 @@ /** |
@@ -124,3 +124,3 @@ import { immutable, circular, action, excludedInJSON } from '../decorators'; | ||
this.service.emit('interfacesChange'); | ||
await config.defaultApp?.history.load(); | ||
@@ -146,3 +146,3 @@ config.defaultApp?.emit('saved'); | ||
}); | ||
typeCheck.deleteByProcess(this.id); | ||
const index = this.service.processes.indexOf(this); | ||
@@ -152,3 +152,3 @@ ~index && this.service.processes.splice(index, 1); | ||
this.service.emit('interfacesChange'); | ||
await config.defaultApp?.history.load(); | ||
@@ -176,3 +176,3 @@ config.defaultApp?.emit('saved'); | ||
} | ||
await then?.(); | ||
@@ -179,0 +179,0 @@ await config.defaultApp?.history.load(); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8695141
787