diff --git a/manager/src/api/index.js b/manager/src/api/index.js index 897f96c5..976c3cd0 100644 --- a/manager/src/api/index.js +++ b/manager/src/api/index.js @@ -401,6 +401,11 @@ export const createIndex = () => { return getRequest(`/elasticsearch`); }; +// 初始化商品索引 +export const getProgress = () => { + return getRequest(`/elasticsearch/progress`); +}; + // 分页查询自定义分词 export const getCustomWordsPage = (params) => { return getRequest(`/manager/custom-words`, params); diff --git a/manager/src/views/sys/setting-manage/setting/GOODS_SETTING.vue b/manager/src/views/sys/setting-manage/setting/GOODS_SETTING.vue index 1beb930a..310135df 100644 --- a/manager/src/views/sys/setting-manage/setting/GOODS_SETTING.vue +++ b/manager/src/views/sys/setting-manage/setting/GOODS_SETTING.vue @@ -56,13 +56,15 @@