From e5b2e7b18abc6713347cbd24053a7611cbf66edf Mon Sep 17 00:00:00 2001 From: cloudroam <cloudroam> Date: 星期三, 27 十一月 2024 14:26:46 +0800 Subject: [PATCH] 569-供应商列表:1.序号ID修改为供应商ID,并移动到第一列 2.增加供应商ID查询框 --- 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