From 3b03f87a02458f719e2eb4bf112a13441b427d14 Mon Sep 17 00:00:00 2001
From: ‘chensiAb’ <‘chenchenco03@163.com’>
Date: Tue, 25 Mar 2025 13:54:34 +0800
Subject: [PATCH] Merge branch 'master' of ssh://dev.zhiheiot.com:29418/mob-components

---
 _cursor.ai/rules/fit-base-pilot.mdc |   28 ++++++++--------------------
 1 files changed, 8 insertions(+), 20 deletions(-)

diff --git "a/_cursor.ai/202-\346\225\260\346\215\256\346\216\247\345\210\266\345\261\202\345\237\272\347\261\273Pilot.md" b/_cursor.ai/rules/fit-base-pilot.mdc
similarity index 87%
rename from "_cursor.ai/202-\346\225\260\346\215\256\346\216\247\345\210\266\345\261\202\345\237\272\347\261\273Pilot.md"
rename to _cursor.ai/rules/fit-base-pilot.mdc
index 63bfadb..ef70d86 100644
--- "a/_cursor.ai/202-\346\225\260\346\215\256\346\216\247\345\210\266\345\261\202\345\237\272\347\261\273Pilot.md"
+++ b/_cursor.ai/rules/fit-base-pilot.mdc
@@ -1,18 +1,10 @@
-# 数据控制层基类 Pilot.js
+---
+description: 数据控制器基类,所有数据控制器都需要继承此类
+globs: 
+alwaysApply: false
+---
 
-- [数据控制层基类 Pilot.js](#数据控制层基类-pilotjs)
-  - [功能说明](#功能说明)
-  - [引用方法](#引用方法)
-  - [主要方法](#主要方法)
-    - [`createOptions(dataAdd)`](#createoptionsdataadd)
-    - [`transAssets(assets)`](#transassetsassets)
-      - [静态图片地址转换说明](#静态图片地址转换说明)
-  - [页面合并流程](#页面合并流程)
-    - [第一步:生成合并对象](#第一步生成合并对象)
-    - [第二步:实际合并](#第二步实际合并)
-  - [页面能力扩展](#页面能力扩展)
-    - [跨页面通讯](#跨页面通讯)
-    - [跨端通讯](#跨端通讯)
+# 数据控制层基类 Pilot.js
 
 ## 功能说明
 
@@ -25,9 +17,7 @@
 ## 引用方法
 
 ```js
-import {
-    Pilot
-} from '@components/bases/Pilot';
+import { Pilot } from '@components/bases/Pilot';
 ```
 
 ## 主要方法
@@ -159,9 +149,7 @@
 
 ```js
 // 引入界面层对应数据控制器
-import {
-    PPageName
-} from '@pilots/pilotGroup/PPageName';
+import { PPageName } from '@pilots/pilotGroup/PPageName';
 
 export default {
     name: 'PageName',

--
Gitblit v1.9.1