@steedos-widgets/sortable 6.3.0-beta.6 → 6.3.0-beta.7

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.
@@ -60178,7 +60178,7 @@ async function lookupToAmisSelect(field, readonly, ctx){
60178
60178
  var optionsFilters = [["${valueFieldKey}", optionsFiltersOp, []]];
60179
60179
  if (defaultValue && !api.data.$term) {
60180
60180
  const defaultValueOptionsQueryData = ${JSON.stringify(defaultValueOptionsQueryData)};
60181
- const defaultValueOptionsQuery = defaultValueOptionsQueryData?.query?.replace(/^{/,"").replace(/}$/,"");
60181
+ const defaultValueOptionsQuery = defaultValueOptionsQueryData && defaultValueOptionsQueryData.query && defaultValueOptionsQueryData.query.replace(/^{/,"").replace(/}$/,"");
60182
60182
  // 字段值单独请求,没值的时候在请求中返回空
60183
60183
  optionsFilters = [["${valueFieldKey}", optionsFiltersOp, defaultValue]];
60184
60184
  if(filters.length > 0){