浏览代码

view=dict

visuddhinanda 2 年之前
父节点
当前提交
9ad9dcfa18
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      dashboard/src/pages/library/article/show.tsx

+ 1 - 1
dashboard/src/pages/library/article/show.tsx

@@ -85,7 +85,7 @@ const Widget = () => {
     /**
     /**
      * 启动时载入格位公式字典
      * 启动时载入格位公式字典
      */
      */
-    get<IApiResponseDictList>(`/v2/userdict?view=word&word=_formula_`).then(
+    get<IApiResponseDictList>(`/v2/userdict?view=dict&name=_formula_`).then(
       (json) => {
       (json) => {
         console.log("_formula_ ok", json.data.count);
         console.log("_formula_ ok", json.data.count);
         //存储到redux
         //存储到redux