hookehuyr

chore: 删除未使用的图片文件并调整测试代码

删除 `src/assets/images` 目录下未使用的图片文件,简化代码库。
调整 `src/views/test.vue` 文件中的测试代码,并启用调试模式。
Showing 46 changed files with 15 additions and 9 deletions
...@@ -11,7 +11,7 @@ VITE_PROXY_PREFIX = /srv/ ...@@ -11,7 +11,7 @@ VITE_PROXY_PREFIX = /srv/
11 VITE_OUTDIR = mlaj 11 VITE_OUTDIR = mlaj
12 12
13 # 是否开启调试 13 # 是否开启调试
14 -VITE_CONSOLE = 0 14 +VITE_CONSOLE = 1
15 15
16 # appID相关 16 # appID相关
17 VITE_APPID=微信appID 17 VITE_APPID=微信appID
......
1 <!-- 1 <!--
2 - * @Date: 2025-03-21 13:12:37
3 - * @LastEditors: hookehuyr hookehuyr@gmail.com
4 - * @LastEditTime: 2025-03-21 13:12:54
5 - * @FilePath: /mlaj/src/views/test.vue
6 - * @Description: 文件描述
7 --->
8 -<!--
9 * @Date: 2025-03-20 19:53:12 2 * @Date: 2025-03-20 19:53:12
10 * @LastEditors: hookehuyr hookehuyr@gmail.com 3 * @LastEditors: hookehuyr hookehuyr@gmail.com
11 * @LastEditTime: 2025-03-20 23:56:05 4 * @LastEditTime: 2025-03-20 23:56:05
...@@ -13,11 +6,24 @@ ...@@ -13,11 +6,24 @@
13 * @Description: 文件描述 6 * @Description: 文件描述
14 --> 7 -->
15 <script setup> 8 <script setup>
9 +const arr = [];
10 +arr.push({ a: '1' });
11 +arr.push({ a: '2', b: 'random1' });
12 +arr.push({ a: '3', b: 'random2', c: true });
13 +arr.push({ a: '4', b: 'random3', d: 123 });
14 +arr.push({ a: '5', b: 'random4', e: new Date() });
15 +
16 +const arr2 = arr.map(item => {
17 + return {
18 + ...item,
19 + b: 'random5'
20 + }
21 +})
16 22
23 +console.warn(arr2);
17 </script> 24 </script>
18 25
19 <template> 26 <template>
20 - <div></div>
21 </template> 27 </template>
22 28
23 <style> 29 <style>
......