uni app- vue 数字单位转换为 万/百万/千万/亿(保存小数点后两位)
(uni app- vue 数字单位转换为 万/百万/千万/亿(保存小数点后两位) )
全部代码:
<template>
<view class="content">
<text>{{aars|moneyFormat}}</text>
</view>
</template>
<script>
export default {
data() {
return {
aars :'1200000'
原创
2020-08-27 16:41:36 ·
5258 阅读 ·
0 评论