From 2cdef278aaf648604f84350045dc859b98e01d3f Mon Sep 17 00:00:00 2001 From: Tevin <tingquanren@163.com> Date: Tue, 25 Mar 2025 09:45:58 +0800 Subject: [PATCH] 完成文章 《前端工作共识》 --- _cursor.ai/rules/fit-base-pilot.mdc | 10 +++------- 1 files changed, 3 insertions(+), 7 deletions(-) diff --git a/_cursor.ai/rules/fit-base-pilot.mdc b/_cursor.ai/rules/fit-base-pilot.mdc index 0f753aa..ef70d86 100644 --- a/_cursor.ai/rules/fit-base-pilot.mdc +++ b/_cursor.ai/rules/fit-base-pilot.mdc @@ -1,5 +1,5 @@ --- -description: +description: 数据控制器基类,所有数据控制器都需要继承此类 globs: alwaysApply: false --- @@ -17,9 +17,7 @@ ## 引用方法 ```js -import { - Pilot -} from '@components/bases/Pilot'; +import { Pilot } from '@components/bases/Pilot'; ``` ## 主要方法 @@ -151,9 +149,7 @@ ```js // 引入界面层对应数据控制器 -import { - PPageName -} from '@pilots/pilotGroup/PPageName'; +import { PPageName } from '@pilots/pilotGroup/PPageName'; export default { name: 'PageName', -- Gitblit v1.9.1