From 3f46d250d0c42ddccf5d74f02dda6ab893cd2ad1 Mon Sep 17 00:00:00 2001 From: kelvin Date: Mon, 22 May 2023 18:31:03 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E6=B7=BB=E5=8A=A0=E5=88=B7?= =?UTF-8?q?=E6=96=B0=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/index.vue | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/src/views/index.vue b/src/views/index.vue index 880e89c..d01f7fb 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -4,9 +4,12 @@ @@ -160,12 +163,18 @@ function NumFilter (value) { let realVal = parseFloat(value).toFixed(2) return realVal } + function NumFilter4 (value) { // 截取当前数据到小数点后两位 let realVal = parseFloat(value).toFixed(4) return realVal } +function flush () { + getIndex() + proxy.$modal.msgSuccess("刷新成功"); +} + getIndex()