Math.pow(10, Math.max(r1, r2))会报错,因此改为:10 ** Math.max(r1, r2)
报错提示:vue 'Math.pow'is restricted from being used. use the exponentiation operator (**) instead
解决办法:
Math.pow(10, Math.max(r1, r2))会报错,因此改为:10 ** Math.max(r1, r2)
报错提示:vue 'Math.pow'is restricted from being used. use the exponentiation operator (**) instead
解决办法: