diff --git a/src-tauri/src/plugins.rs b/src-tauri/src/plugins.rs index e1984823..25e62864 100644 --- a/src-tauri/src/plugins.rs +++ b/src-tauri/src/plugins.rs @@ -1,6 +1,6 @@ //! @file src/plugins.rs //! @desc 插件模块,用于注册插件 -//! @since Beta v0.5.2 +//! @since Beta v0.5.3 use super::utils; use log::LevelFilter; @@ -17,12 +17,12 @@ pub fn build_log_plugin() -> TauriPlugin { .level(LevelFilter::Debug) .build(); } - return tauri_plugin_log::Builder::default() + tauri_plugin_log::Builder::default() .targets([ Target::new(TargetKind::Webview), Target::new(TargetKind::LogDir { file_name: utils::get_current_date().into() }), ]) .timezone_strategy(TimezoneStrategy::UseLocal) .level(LevelFilter::Info) - .build(); + .build() } diff --git a/src/components/post/tp-text.vue b/src/components/post/tp-text.vue index 1be8e7fb..62fc9487 100644 --- a/src/components/post/tp-text.vue +++ b/src/components/post/tp-text.vue @@ -21,7 +21,6 @@