feat: message的select checker getSystemId增加true
This commit is contained in:
parent
ee57c1e932
commit
3cf3b4da09
|
|
@ -5,7 +5,7 @@ const checkers = [
|
||||||
action: 'select',
|
action: 'select',
|
||||||
entity: 'message',
|
entity: 'message',
|
||||||
checker: (operation, context) => {
|
checker: (operation, context) => {
|
||||||
const systemId = context.getSystemId();
|
const systemId = context.getSystemId(true);
|
||||||
if (!systemId) {
|
if (!systemId) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ const checkers = [
|
||||||
action: 'select',
|
action: 'select',
|
||||||
entity: 'message',
|
entity: 'message',
|
||||||
checker: (operation, context) => {
|
checker: (operation, context) => {
|
||||||
const systemId = context.getSystemId();
|
const systemId = context.getSystemId(true);
|
||||||
if (!systemId) {
|
if (!systemId) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ const checkers: Checker<EntityDict, 'message', RuntimeCxt<EntityDict>> [] = [
|
||||||
action: 'select',
|
action: 'select',
|
||||||
entity: 'message',
|
entity: 'message',
|
||||||
checker: (operation, context) => {
|
checker: (operation, context) => {
|
||||||
const systemId = context.getSystemId();
|
const systemId = context.getSystemId(true);
|
||||||
if (!systemId) {
|
if (!systemId) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue