This commit is contained in:
姜棚 2021-12-02 20:31:25 +08:00
parent d7259fb9ce
commit b1378d72b2
1 changed files with 1 additions and 1 deletions

View File

@ -154,7 +154,7 @@ export default class edittemplate extends React.Component{
}
var re = new RegExp("^([1-9][0-9]*){1,3}$");
if (!re.test(this.state.model.sort)) {
if (this.state.isExchangePage && !re.test(this.state.model.sort)) {
Notify.error("权重请输入正整数")
return;
}