From f143d2a63e00e43b461914a0660e4a91dd50a1db Mon Sep 17 00:00:00 2001
From: cloudroam <cloudroam>
Date: 星期三, 09 十月 2024 19:56:17 +0800
Subject: [PATCH] Merge branch 'master' of http://47.96.225.205:8888/r/operation_pc-v2
---
components/simple-text.vue | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/components/simple-text.vue b/components/simple-text.vue
index 0e90fd2..5366caa 100644
--- a/components/simple-text.vue
+++ b/components/simple-text.vue
@@ -1,6 +1,6 @@
<template>
<div class="simple-text" :class="{ 'is-primary': type === 'primary' }">
- {{ value }}
+ {{ text || value }}
</div>
</template>
@@ -15,6 +15,10 @@
type: String,
default: '',
},
+ text: {
+ type: [String, Number],
+ default: null,
+ },
},
}
</script>
--
Gitblit v1.9.3