From 6159a5216fc8e9e789b4640c29e0a416008e7e4f Mon Sep 17 00:00:00 2001 From: 陶杰 <1378534974@qq.com> Date: 星期日, 22 十二月 2024 21:46:27 +0800 Subject: [PATCH] 1.行政区划对接-高德 2.行政区划对接-腾讯 --- 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