Results 6 comments of Kiyan

使用过滤器在文章完成渲染后增加折叠功能的代码。 在 `scripts/` 目录下新建文件 `.js`,文件名自定,内容如下: ```js "use strict"; // 获取唯一 ID function getUuid() { return Math.random().toString(36).substring(2, 8) + Date.now().toString(36); } hexo.extend.filter.register( "after_post_render", (data) => { const { line_number, lib }...

在页面未加载完之前,点击菜单切换按钮,也会导致这种问题。

图标来自 https://fontawesome.com/ ,可以参考以下代码 ```yaml custom_css: - https://lib.baomitu.com/font-awesome/6.1.2/css/all.min.css # Font Awesome - /css/code-folding # 你的图标的旋转动画, 注意这里使用无后缀或者使用 css 后缀 ```

``` blog |----scripts | |----filter-code-collapse.js | |----source |----css |----code-collapse.styl ```

I think there should be some handling of message subscriptions when leaving the page. In ViewModel ovrride `ObservableRecipient.OnActivated()` like: https://github.com/CommunityToolkit/MVVM-Samples/blob/8963a8720dc783658e764e22629598509e044d7f/samples/MvvmSample.Core/ViewModels/MessengerPageViewModel.cs#L72-L75 In Page, control the message state, like: https://github.com/CommunityToolkit/MVVM-Samples/blob/8963a8720dc783658e764e22629598509e044d7f/samples/MvvmSampleUwp/Views/MessengerSendPage.xaml.cs#L27-L38

计算完毕后点击任务进入结果页面了 ![image](https://github.com/user-attachments/assets/cdbe3bca-d25c-4b4d-a5d1-cdb1b2deefca) ![image](https://github.com/user-attachments/assets/17edaea4-2dc5-496e-91b7-186a649a2728)