From 10cc95e403489f8d77afef2917287dcafedb3e84 Mon Sep 17 00:00:00 2001
From: songhuangfeng123 <shf18767906695@163.com>
Date: Thu, 19 May 2022 08:47:24 +0800
Subject: [PATCH] 长度过长显示问题
---
src/api/dictionary.js | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/src/api/dictionary.js b/src/api/dictionary.js
index 0b1bfd4..c6f83d5 100644
--- a/src/api/dictionary.js
+++ b/src/api/dictionary.js
@@ -101,3 +101,13 @@
data
})
}
+
+export function getItemsByType(type) {
+ return request({
+ headers:{
+ 'Authorization': getToken()
+ },
+ url: process.env.BASE_API+'/dictionaryAllItems?dictionaryType='+type,
+ method: 'get',
+ })
+}
--
Gitblit v1.9.2