diff --git a/.env.production b/.env.production index 05adf4f7..abdf5d63 100644 --- a/.env.production +++ b/.env.production @@ -1,3 +1,2 @@ NODE_ENV = 'production' -VUE_APP_BASE_URL = 'https://www.aida.com.hk' - +VUE_APP_BASE_URL = 'http://www.aida.com.hk' diff --git a/README.md b/README.md index 84a8b452..cf1893f0 100644 --- a/README.md +++ b/README.md @@ -27,4 +27,4 @@ See [Configuration Reference](https://cli.vuejs.org/config/). zyy8421823@163.com -https://aifda.aidlab.hk/login.php# aida_front +https://aifda.aidlab.hk/login.php \ No newline at end of file diff --git a/src/views/HomeView.vue b/src/views/HomeView.vue index 03c24adb..292226ef 100644 --- a/src/views/HomeView.vue +++ b/src/views/HomeView.vue @@ -642,9 +642,11 @@ export default defineComponent({ for(let key in allBoardData){ if(key !== 'colorBoards' && key !== 'moodTemplateId'){ for(let item of allBoardData[key]){ + let nameTail = item.imgUrl.split('.').pop() + console.log(nameTail, 666) let data = { imgUrl:item.imgUrl, - name:item.resData.name + index + '.png' + name:item.resData.name + index + '.' + nameTail } img.push(data) index ++