Browse Source

Merge pull request #240396 in DEC/fineui from master to feature/x

* commit 'a5c60b56cbb80b84c16b708f0b2617cc64abbc16':
  无jira 改为 console.error
research/test
superman 1 year ago
parent
commit
c39c18432d
  1. 3
      packages/fineui/src/core/constant/writable.var.js

3
packages/fineui/src/core/constant/writable.var.js

@ -49,7 +49,8 @@ PropertyDescriptors["pixRatio"] = {
export let StartOfWeek = 1;
export const setStartOfWeek = v => {
if (![0, 1].includes(v)) {
throw new Error("setStartOfWeek must be 0 or 1");
console.error("setStartOfWeek must be 0 or 1");
return;
}
StartOfWeek = v;
};

Loading…
Cancel
Save