Commit 5e660d86 by 胡悦

提交

1 parent 35bfd900
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* @Author: huyue * @Author: huyue
* @Date: 2024-07-26 10:46:04 * @Date: 2024-07-26 10:46:04
* @LastEditors: huyue * @LastEditors: huyue
* @LastEditTime: 2024-07-30 11:18:35 * @LastEditTime: 2024-07-30 11:38:59
--> -->
<script lang="ts" setup> <script lang="ts" setup>
import { reactive, ref, nextTick, toRefs, onBeforeMount } from "vue"; import { reactive, ref, nextTick, toRefs, onBeforeMount } from "vue";
...@@ -140,10 +140,11 @@ const getParams = () => { ...@@ -140,10 +140,11 @@ const getParams = () => {
})); }));
Object.keys(language).forEach((l, index) => { Object.keys(language).forEach((l, index) => {
for (var i = 0; i < len; i++) { for (var i = 0; i < len; i++) {
console.log(i, l)
invnoticeProductList[i].invnoticeProductTranslationsList[index].title = form[`${l}_title${i + 1}`]; invnoticeProductList[i].invnoticeProductTranslationsList[index].title = form[`${l}_title${i + 1}`];
invnoticeProductList[i].invnoticeProductTranslationsList[index].tags = form[`${l}_tags${i + 1}`]; invnoticeProductList[i].invnoticeProductTranslationsList[index].tags = form[`${l}_tags${i + 1}`];
invnoticeProductList[i].invnoticeProductTranslationsList[index].filePath = form[`${l}_filePath${i + 1}`]; invnoticeProductList[i].invnoticeProductTranslationsList[index].filePath = form[`${l}_filePath${i + 1}`];
invnoticeProductList[i].invnoticeProductTranslationsList[index].languageCode = language[l];
console.log(i, l)
} }
}); });
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!