# quick-issue **Repository Path**: chenHusky/quick-issue ## Basic Information - **Project Name**: quick-issue - **Description**: openeuler quickissue - **Primary Language**: Unknown - **License**: CC0-1.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 2 - **Created**: 2022-10-28 - **Last Updated**: 2024-06-17 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # quick-issue appid:623c3c2f1eca5ad5fca6c58a App Secret: 5d07c65f44fa1beb08b36f90af314aef #### 介绍 The repository of quick-issue #### 软件架构 软件架构说明 ```text app ├─ .vitepress ├─ public // 静态资源文件,不参与打包编译 ├─ src // 业务 ├─ api // 接口 ├─ assets // 资源文件 ├─ components // 组件 ├─ i18 // 国际化 ├─ shared // 公用方法/样式 ├─ stores // 状态管理 ├─ views // 业务vue文件 ├─ en // 英文页面 ├─ ru // 俄文页面 ├─ zh // 中文页面 ``` 1. xxxx 2. xxxx 3. xxxx #### 使用说明 1. xxxx 2. xxxx 3. xxxx #### 参与贡献 ### 命名 #### 命名形式 1. `camelCase`: 驼峰式 2. `kebab-case`: 短横线连接式 3. `PascalCase`: 帕斯卡命名式 4. `Snake`: 下划线连接式 #### 说明 1. 文件夹以及文件命名(除 Vue SFC)采用`kebab-case` 2. Vue SFC 文件命名使用`PascalCase`, 在该文件中使用的 Vue 组件也使用`PascalCase` 3. Vue 组件中`emit`事件使用`kebab-case` 4. 变量以及方法命名使用`camelCase`, 资源文件使用`Snake`表明 light/dark, zh/en/ru,,`eg: homeBanner_light_zh`, 其中风格在前,语言在后 5. CSS 使用`kebab-case`命名 6. Icon 组件引入时增加 Icon 前缀,eg:`import IconDownload from '~icons/app/download'` ### 开发规范 1. 所有接口类方法请写在`app/.vitepress/src/api`中,并按照[jsdoc 注释规范](https://www.shouce.ren/api/view/a/13232)给出注释,不同模块接口请按文件进行区分, eg: `api-cve.ts` 2. 公共 utils 方法请按[jsdoc 注释规范](https://www.shouce.ren/api/view/a/13232)给出注释 3. 变量命名做到见名知义,方法命名使用动词或动宾结构, eg: `import warningImg from '@/assets/icons/warning.png`, `const getUserEmail=()=>{}` 4. 调用接口获取数据请使用`try {} catch(error) {}`进行校验 5. 约束`for...in`的使用, 可以使用`Object.keys().forEach` 6. 使用`prettier`插件作为格式化工具 7. 提交之前请先进行 eslint 检查: 执行脚本,运行`pnpm lint`。确认无问题后提交。项目工程的git hooks 已配置相关校验,如`git commit`不成功,请查看相关错误信息,并进行修改 8. `git commit`信息请尽量参照[相关规范](https://zhuanlan.zhihu.com/p/182553920) 9. 其他注意事项请参考业界相关通用[开发规范说明](https://github.com/airbnb/javascript) a) 账号服务,社区提供openGauss社区账号服务,以便提供统一的社区身份和权限,当您注册openGauss社区账号的时候,我们将收集您的手机号用于身份校验,我们还会使用邮箱个人信息识别您在社区的身份,并在此基础上进行数据统计,以使我们了解openGauss社区的运行状况。当您在开发者个人中心编辑资料,可能会收集您提供的昵称、头像、公司名称,用以展示您在社区的个性化身份。 2.我们如何使用 Cookie 及类似技术 1) 严格必要的Cookie: 当您使用openGauss社区账号登录网站时,Cookie将确保您对该网站的访问尽可能顺利; 6.如何访问或控制您的个人信息 6.1 信息访问 您可以在您的电脑上或移动设备浏览器上用openGauss社区帐号登录个人中心,获取您的个人信息。 6.2 信息更正 您可以在openGauss社区帐号登录个人中心,进入“个人中心”>“基本信息”查看、更正您的个人信息。 6.3 信息删除 您可以在openGauss社区帐号登录个人中心,进入“个人中心”>“基本信息” 或者 “账号绑定” 解绑邮箱或者删除您的openGauss社区账号公司、昵称、头像基本信息。 6.4 撤销同意 如您对您的数据主体权利有进一步要求或存在任何疑问、意见或建议,可通过本声明中“如何联系我们”章节中所述方式与我们取得联系,并行使您的相关权利。 6.5 注销服务 您可以在openGauss社区帐号进入“个人中心”>“账号安全”>“账号删除”注销您的openGauss社区账号。 The openGauss community provides the openGauss community account service for unified identity and permission management. When you register an openGauss community account, we will collect your mobile number for identity verification. We will also use your email address to verify your identity in the community and collect statistics based on the data so that we can understand the operating status of the openGauss community platform. We may collect your nickname, profile picture, and company name in the user center and display the data in the community. You can log in to the openGauss community and choose User Center > Info or Identity to unbind your email address or delete the company, nickname, and profile picture from your openGauss community account.