Browse Source

Pull request #3605: 无jira 改为 console.error

Merge in VISUAL/fineui from ~DAILER/fineui:master to master

* commit 'fe63d72e473c7d5c4e404617147c938fb4218852':
  无jira 改为 console.error
research/test
Dailer-刘荣歆 1 year ago
parent
commit
a5c60b56cb
  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