Loading...
Loading...
【Must Read · Mandatory】Mandatory usage specification for Giime component library. You must read this skill before writing or modifying any frontend code involving UI components. It covers enhanced features of gm-* components, usage of plugins such as GmConfirmBox/GmMessage/GmCopy, common code patterns, and how to obtain MCP documents.
npx skill4agent add giikin/skills giime-componentsel-gm-gm-*el-*el-buttongm-buttonel-tablegm-tableGmConfirmBoxGmConfirmBoxGmCopyGmCopyGmMessageGmMessagegrouping: trueElMessage| Component | Enhancement Content |
|---|---|
| Automatically handles loading for async |
| Default |
| Default |
| Added |
| Supports |
| Added download progress, default toolbar (zoom/rotate/download), |
| Same as |
| Added |
| Default |
| Alert disables Esc and mask closing by default; confirm/prompt shows cancel button by default |
| Secondary confirmation pop-up, automatically handles confirmation button loading and disabled state |
| Copy to clipboard, automatically prompts success/failure |
Note:does not enablegm-select-v2by default, which is different fromfilterable.gm-select
const handleDelete = () => {
GmConfirmBox({ message: '是否确认删除?' }, async () => {
await deleteItem();
GmMessage.success('删除成功');
});
};emit<gm-button @click="handleSubmit">提交</gm-button>const handleSubmit = async () => {
await submitForm();
GmMessage.success('提交成功');
};<gm-select v-model="form.status" clearable :options="statusOptions" />GmCopy(text);giime-docsget-giime-docs-sidebarget-giime-component-doc({ link })giime-docs