refactor(custom): 后结收款增加加载动画
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -7,11 +7,11 @@ export function calculateDistance(
|
||||
la2: number,
|
||||
lo2: number,
|
||||
): any {
|
||||
var radLat1 = (la1 * Math.PI) / 180.0;
|
||||
var radLat2 = (la2 * Math.PI) / 180.0;
|
||||
var a = radLat1 - radLat2;
|
||||
var b = (lo1 * Math.PI) / 180.0 - (lo2 * Math.PI) / 180.0;
|
||||
var s =
|
||||
const radLat1 = (la1 * Math.PI) / 180.0;
|
||||
const radLat2 = (la2 * Math.PI) / 180.0;
|
||||
const a = radLat1 - radLat2;
|
||||
const b = (lo1 * Math.PI) / 180.0 - (lo2 * Math.PI) / 180.0;
|
||||
let s =
|
||||
2 *
|
||||
Math.asin(
|
||||
Math.sqrt(
|
||||
|
||||
Reference in New Issue
Block a user