Skip to content

Commit f0372f2

Browse files
committed
Update lastUpdated
1 parent e23a99a commit f0372f2

File tree

104 files changed

+467
-105
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

104 files changed

+467
-105
lines changed

.vitepress/config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ export default defineConfig({
2626
'@img': path.join(__dirname, '../src/public/images/'),
2727
'@NanoUI': path.join(__dirname, '../package/components/'),
2828
'@NanoIcon': path.join(__dirname, '../package/icon/'),
29-
'@store': path.join(__dirname, '../package/store/')
29+
'@store': path.join(__dirname, '../package/store/'),
30+
'@HWY': 'https://namichong.obs.cn-south-1.myhuaweicloud.com/Blog/images'
3031
}
3132
},
3233
plugins: [

.vitepress/sidebar/learn.ts

Lines changed: 3 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,7 @@
11
import {
2-
androidIcon,
3-
conceptIcon,
4-
cssIcon, deployIcon, dockerIcon, editorIcon, githubIcon, gitIcon, hBuilderXIcon,
5-
htmlIcon,
6-
httpIcon, ideaIcon,
7-
infoIcon,
8-
javaBaseIcon,
9-
javaIcon,
10-
jsIcon, mySQLIcon, npmIcon,
11-
rearEndIcon,
12-
springBootIcon, springIcon, sqlIcon, uniAppIcon, versionControlIcon,
13-
vueIcon,
2+
androidIcon, conceptIcon, cssIcon, deployIcon, dockerIcon, editorIcon, gitIcon, hBuilderXIcon,
3+
htmlIcon, httpIcon, ideaIcon, infoIcon, javaBaseIcon, javaIcon, jsIcon, mySQLIcon, npmIcon,
4+
rearEndIcon, springBootIcon, springIcon, sqlIcon, uniAppIcon, versionControlIcon, vueIcon,
145
webIcon, webpackIcon, wxMiniprogramIcon
156
} from './icons';
167
import htmlItems from './learn/html';
@@ -185,18 +176,6 @@ const learnSidebar: SidebarType[] = [
185176
}
186177
]
187178
},
188-
{
189-
icon: githubIcon,
190-
text: 'Github',
191-
collapsed: true,
192-
items: [
193-
{
194-
icon: '🔹',
195-
text: 'README 说明文件美化教程',
196-
link: '/learn/version_control/github/readme_beautify'
197-
}
198-
]
199-
},
200179
{
201180
icon: npmIcon,
202181
text: 'NPM',

.vitepress/sidebar/newTools.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ const newToolsSidebar: SidebarType[] = [
99
{
1010
text: 'artalk 评论系统安装与配置教程(docker版)',
1111
link: '/new-tools/docker_install_artalk'
12+
},
13+
{
14+
text: 'README 说明文件美化教程',
15+
link: '/new-tools/readme_beautify'
1216
}
1317
]
1418
}

package/components/NanoMain/index.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@
5757
const showDatetime = computed(() => frontmatter.value.lastUpdated !== false);
5858
5959
// Listen for routing changes and scroll to the top
60-
watch(() => [ route.path, hash ], ([ , hashValue ]) => {
60+
watch(() => [ route.path, hash ], () => {
6161
nextTick(() => {
62-
if (hashValue) {
62+
if (hash.value) {
6363
setTimeout(() => {
6464
hashChange();
6565
});

src/bugs/editor/android_studio/solve_sdk_unable_to_download.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
---
2+
lastUpdated: 2025/1/15 13:55
3+
---
4+
15
# 解决 SDK 无法下载的问题
26

37
> 下载不了的主要原因还是代理问题,需要配置下代理(前提你得有梯子)

src/bugs/index.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
1+
---
2+
lastUpdated: 2025/1/15 13:55
3+
---
4+
15
# 求求你别再出错了!
26

3-
![](../public/images/write-bugs.jpg)
7+
![](https://namichong.obs.cn-south-1.myhuaweicloud.com/Blog/images/write-bugs.jpg){width=320}
48

59
我发誓,我从未想过要让这些代码出错!
610

src/bugs/web/element-ui/el-avatar_not_update_after_refetching_the_data.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
---
2+
lastUpdated: 2023/9/17 02:12
3+
---
4+
15
# 头像组件第一次地址加载报错后,数据再次获取后无法重新加载
26

37
在 Element UI 版本中,如果 `el-avatar` 头像组件首次加载的地址是错误的地址,会导致后续更新都无法再次更新组件

src/bugs/web/element-ui/el-form_customize_rule.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
cbf: false
2+
lastUpdated: 2024/7/18 09:41
33
---
44

55
# el-form 自定义一个非输入选择的值的规则,但是无法生效的问题

src/bugs/web/element-ui/messagebox_report_error_uncaught_(in_promise)_cancel.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
---
2+
lastUpdated: 2023/9/17 02:12
3+
---
4+
15
# MessageBox报错Uncaught (in promise) cancel
26

37
当使用`MessageBox``Message`组件时,如果组件方法后面不加上`catch()`方法会报错

src/bugs/web/element-ui/table_tree_json_error.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
---
2+
lastUpdated: 2023/9/17 02:12
3+
---
4+
15
# Error: for nested data item, row-key is required.
26

37
## 问题描述

0 commit comments

Comments
 (0)