Browse Source

无jira 改为 console.error

research/test
dailer 2 years ago
parent
commit
fe63d72e47
  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 let StartOfWeek = 1;
export const setStartOfWeek = v => { export const setStartOfWeek = v => {
if (![0, 1].includes(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; StartOfWeek = v;
}; };

Loading…
Cancel
Save