diff --git a/src/views/system/luckyCoin/hook.tsx b/src/views/system/luckyCoin/hook.tsx index 93b60c7..75c4fc2 100644 --- a/src/views/system/luckyCoin/hook.tsx +++ b/src/views/system/luckyCoin/hook.tsx @@ -15,7 +15,6 @@ export function useData() { loading.value = true; const { data, code } = await getLuckyCoinInfo(); if (code) { - // console.log(data) formLabel.value = data data.forEach(ele => { formData.value[ele.key] = ele.value @@ -24,6 +23,7 @@ export function useData() { loading.value = false; }; const handleFileSuccess = (list, keyData) => { + console.log(list) formData.value[keyData.key] = list.join(',') } const saveConfig = async () => { diff --git a/src/views/system/luckyCoin/index.vue b/src/views/system/luckyCoin/index.vue index 6e3d219..b9b3a0d 100644 --- a/src/views/system/luckyCoin/index.vue +++ b/src/views/system/luckyCoin/index.vue @@ -31,8 +31,8 @@ onMounted(() => {
- +
{{ ele.key_desc }}