|
|
@ -858,11 +858,6 @@ class TPMBanner extends Component {
|
|
|
|
const antIcon = <Icon type="loading" style={{fontSize: 24}} spin/>;
|
|
|
|
const antIcon = <Icon type="loading" style={{fontSize: 24}} spin/>;
|
|
|
|
const MyRate = ({defaultValue, ...rest}) => {
|
|
|
|
const MyRate = ({defaultValue, ...rest}) => {
|
|
|
|
let myValue = defaultValue;
|
|
|
|
let myValue = defaultValue;
|
|
|
|
// console.log(myValue-Math.floor(myValue))
|
|
|
|
|
|
|
|
// if (myValue < Math.ceil(myValue)) {
|
|
|
|
|
|
|
|
// myValue = Math.floor(myValue) + 0.5;
|
|
|
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return <Rating {...rest} value={myValue}/>;
|
|
|
|
return <Rating {...rest} value={myValue}/>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
//
|
|
|
|
//
|
|
|
|