lifanagju_citu 8 mesi fa
parent
commit
bca600601e
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 2 1
      utils/position.js

+ 2 - 1
utils/position.js

@@ -86,7 +86,8 @@ export const getDictValueWithLabel = (dict, value, valueKey = 'value', labelKey
 let data
 const list = ['headhuntRate', 'recommendRate', 'cvRate'] // 平台、推荐人、投递人
 const getRation = async () => {
-  data = await getPublicRatio()
+  const res = await getPublicRatio()
+  data = res?.data
 }
 getRation()