{"id":71966,"date":"2026-02-04T17:41:21","date_gmt":"2026-02-04T09:41:21","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/71966.html"},"modified":"2026-02-04T17:41:21","modified_gmt":"2026-02-04T09:41:21","slug":"easy-elplus-element-plus%e4%ba%8c%e6%ac%a1%e5%b0%81%e8%a3%85%ef%bc%88tabledialog-%ef%bc%89","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/71966.html","title":{"rendered":"easy-elplus == Element Plus\u4e8c\u6b21\u5c01\u88c5\uff08Table,Dialog:....\uff09"},"content":{"rendered":"<h2>Easy ElPlus<\/h2>\n<h3>Introduction<\/h3>\n<h4>WHAT<\/h4>\n<p>easy-elplus \u662f\u57fa\u4e8e Element Plus \u7684\u4e8c\u6b21\u5c01\u88c5\u7ec4\u4ef6\u5e93\u3002\u5b83\u5728\u5b8c\u5168\u4fdd\u7559 Element Plus \u7ec4\u4ef6\u80fd\u529b\u7684\u57fa\u7840\u4e0a&#xff0c;\u5bf9\u5e38\u7528\u7ec4\u4ef6\u8fdb\u884c\u4e86\u529f\u80fd\u589e\u5f3a\u548c API \u7b80\u5316\u3002\u901a\u8fc7\u5185\u7f6e\u7684\u901a\u7528\u903b\u8f91\u5904\u7406&#xff0c;\u5f00\u53d1\u8005\u53ef\u4ee5\u7528\u66f4\u5c11\u7684\u4ee3\u7801\u5b9e\u73b0\u66f4\u4e30\u5bcc\u7684\u529f\u80fd\u3002<\/p>\n<h4>WHY<\/h4>\n<p>\u5728\u6211\u4eec\u7684\u65e5\u5e38\u5f00\u53d1\u4e2d&#xff0c;\u5927\u91cf\u7684\u65f6\u95f4\u88ab\u6d88\u8017\u5728\u91cd\u590d\u7684\u4ea4\u4e92\u903b\u8f91\u4e0a&#xff0c;\u4f8b\u5982&#xff1a;<\/p>\n<ul>\n<li>\u6bcf\u4e00\u4e2a\u5f02\u6b65\u64cd\u4f5c\u6309\u94ae\u90fd\u9700\u8981\u624b\u52a8\u7ef4\u62a4 loading \u72b6\u6001\u3002<\/li>\n<li>\u8868\u683c\u9875\u9762\u5305\u542b\u4e86\u5927\u91cf\u91cd\u590d\u7684\u5206\u9875\u3001\u5217\u914d\u7f6e\u548c\u67e5\u8be2\u903b\u8f91\u3002<\/li>\n<li>\u5bf9\u8bdd\u6846\u7684\u6253\u5f00\/\u5173\u95ed\u3001\u8868\u5355\u91cd\u7f6e\u9700\u8981\u7f16\u5199\u7e41\u7410\u7684\u6a21\u7248\u4ee3\u7801\u3002<\/li>\n<\/ul>\n<p>easy-elplus \u65e8\u5728\u89e3\u51b3\u8fd9\u4e9b\u75db\u70b9\u3002\u5b83\u901a\u8fc7\u5c01\u88c5\u6700\u4f73\u5b9e\u8df5&#xff0c;\u8ba9\u7ec4\u4ef6&#034;\u66f4\u806a\u660e&#034;&#xff0c;\u4ece\u800c\u51cf\u5c11\u91cd\u590d\u4ee3\u7801&#xff0c;\u63d0\u5347\u5f00\u53d1\u6548\u7387&#xff0c;\u540c\u65f6\u4fdd\u6301\u4e86\u4e0e Element Plus \u7684\u9ad8\u5ea6\u517c\u5bb9\u6027\u3002<\/p>\n<h3>Features<\/h3>\n<ul>\n<li>EasyButton: \u667a\u80fd\u6309\u94ae&#xff0c;\u81ea\u52a8\u68c0\u6d4b\u5f02\u6b65 Click \u4e8b\u4ef6\u5e76\u7ba1\u7406 loading \u72b6\u6001\u3002<\/li>\n<li>EasyTable: \u914d\u7f6e\u5316\u8868\u683c&#xff0c;\u652f\u6301\u591a\u7ea7\u8868\u5934\u3001\u81ea\u52a8\u5206\u9875\u3001\u81ea\u5b9a\u4e49\u5217\u6e32\u67d3\u3002<\/li>\n<li>EasyDialog: \u7b80\u5316\u7684\u5bf9\u8bdd\u6846&#xff0c;\u652f\u6301\u901a\u8fc7 v-model \u63a7\u5236\u663e\u9690&#xff0c;\u5185\u7f6e\u5168\u5c4f\u529f\u80fd\u3002<\/li>\n<li>Uploaders: \u5c01\u88c5\u5b8c\u5584\u7684 [ImageUpload] \u548c [FileUpload] \u7ec4\u4ef6&#xff0c;\u7b80\u5316\u6587\u4ef6\u4e0a\u4f20\u6d41\u7a0b\u3002<\/li>\n<li>Descriptions: \u589e\u5f3a\u7684\u63cf\u8ff0\u5217\u8868&#xff0c;\u652f\u6301\u914d\u7f6e\u5316\u6e32\u67d3\u3002<\/li>\n<\/ul>\n<h3>Quick Start<\/h3>\n<p><span class=\"token function\">pnpm<\/span> i easy-elplus<\/p>\n<p><span class=\"token keyword\">import<\/span> <span class=\"token punctuation\">{<\/span> createApp <span class=\"token punctuation\">}<\/span> <span class=\"token keyword\">from<\/span> <span class=\"token string\">&#034;vue&#034;<\/span><br \/>\n<span class=\"token keyword\">import<\/span> EasyElPlus <span class=\"token keyword\">from<\/span> <span class=\"token string\">&#034;easy-elplus&#034;<\/span><\/p>\n<p><span class=\"token keyword\">const<\/span> app <span class=\"token operator\">&#061;<\/span> <span class=\"token function\">createApp<\/span><span class=\"token punctuation\">(<\/span>App<span class=\"token punctuation\">)<\/span><br \/>\napp<span class=\"token punctuation\">.<\/span><span class=\"token function\">use<\/span><span class=\"token punctuation\">(<\/span>EasyElPlus<span class=\"token punctuation\">)<\/span><\/p>\n<h4>Basic Usage<\/h4>\n<h5>EasyButton<\/h5>\n<p>&lt;template&gt;<br \/>\n  &lt;EasyButton type&#061;&#034;primary&#034; &#064;click&#061;&#034;handleAsync&#034;&gt; \u70b9\u51fb\u81ea\u52a8 Loading &lt;\/EasyButton&gt;<br \/>\n&lt;\/template&gt;<\/p>\n<p>&lt;script setup&gt;<br \/>\nconst handleAsync &#061; async () &#061;&gt; {<br \/>\n  \/\/ \u6309\u94ae\u4f1a\u81ea\u52a8\u663e\u793a loading \u76f4\u5230 promise resolve<br \/>\n  await new Promise(r &#061;&gt; setTimeout(r, 2000))<br \/>\n}<br \/>\n&lt;\/script&gt;<\/p>\n<h3>Links<\/h3>\n<ul>\n<li>\u7ec4\u4ef6\u6587\u6863<\/li>\n<li>vue3\u8868\u5355\u6e32\u67d3\u5668<\/li>\n<\/ul>\n<h3>Inspiration<\/h3>\n<p>Thanks to Element Plus<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Easy ElPlus<br \/>\nIntroduction<br \/>\nWHAT<br \/>\neasy-elplus \u662f\u57fa\u4e8e Element Plus \u7684\u4e8c\u6b21\u5c01\u88c5\u7ec4\u4ef6\u5e93\u3002\u5b83\u5728\u5b8c\u5168\u4fdd\u7559 Element Plus \u7ec4\u4ef6\u80fd\u529b\u7684\u57fa\u7840\u4e0a&#xff0c;\u5bf9\u5e38\u7528\u7ec4\u4ef6\u8fdb\u884c\u4e86\u529f\u80fd\u589e\u5f3a\u548c API \u7b80\u5316\u3002\u901a\u8fc7\u5185\u7f6e\u7684\u901a\u7528\u903b\u8f91\u5904\u7406&#xff0c;\u5f00\u53d1\u8005\u53ef\u4ee5\u7528\u66f4\u5c11\u7684\u4ee3\u7801\u5b9e\u73b0\u66f4\u4e30\u5bcc\u7684\u529f\u80fd\u3002<br \/>\nWHY<br \/>\n\u5728\u6211\u4eec\u7684\u65e5\u5e38\u5f00\u53d1\u4e2d&#xff0c;\u5927\u91cf\u7684\u65f6\u95f4\u88ab\u6d88\u8017\u5728\u91cd\u590d\u7684\u4ea4\u4e92\u903b\u8f91\u4e0a&#xff0c;\u4f8b\u5982&#xff1a;<br \/>\n\u6bcf\u4e00\u4e2a\u5f02\u6b65\u64cd\u4f5c\u6309\u94ae\u90fd\u9700\u8981<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[187,625,87],"topic":[],"class_list":["post-71966","post","type-post","status-publish","format-standard","hentry","category-server","tag-javascript","tag-vue-js","tag-87"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>easy-elplus == Element Plus\u4e8c\u6b21\u5c01\u88c5\uff08Table,Dialog:....\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/71966.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"easy-elplus == Element Plus\u4e8c\u6b21\u5c01\u88c5\uff08Table,Dialog:....\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"Easy ElPlus Introduction WHAT easy-elplus \u662f\u57fa\u4e8e Element Plus \u7684\u4e8c\u6b21\u5c01\u88c5\u7ec4\u4ef6\u5e93\u3002\u5b83\u5728\u5b8c\u5168\u4fdd\u7559 Element Plus \u7ec4\u4ef6\u80fd\u529b\u7684\u57fa\u7840\u4e0a&#xff0c;\u5bf9\u5e38\u7528\u7ec4\u4ef6\u8fdb\u884c\u4e86\u529f\u80fd\u589e\u5f3a\u548c API \u7b80\u5316\u3002\u901a\u8fc7\u5185\u7f6e\u7684\u901a\u7528\u903b\u8f91\u5904\u7406&#xff0c;\u5f00\u53d1\u8005\u53ef\u4ee5\u7528\u66f4\u5c11\u7684\u4ee3\u7801\u5b9e\u73b0\u66f4\u4e30\u5bcc\u7684\u529f\u80fd\u3002 WHY \u5728\u6211\u4eec\u7684\u65e5\u5e38\u5f00\u53d1\u4e2d&#xff0c;\u5927\u91cf\u7684\u65f6\u95f4\u88ab\u6d88\u8017\u5728\u91cd\u590d\u7684\u4ea4\u4e92\u903b\u8f91\u4e0a&#xff0c;\u4f8b\u5982&#xff1a; \u6bcf\u4e00\u4e2a\u5f02\u6b65\u64cd\u4f5c\u6309\u94ae\u90fd\u9700\u8981\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/71966.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-02-04T09:41:21+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/71966.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/71966.html\",\"name\":\"easy-elplus == Element Plus\u4e8c\u6b21\u5c01\u88c5\uff08Table,Dialog:....\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-02-04T09:41:21+00:00\",\"dateModified\":\"2026-02-04T09:41:21+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/71966.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/71966.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/71966.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"easy-elplus == Element Plus\u4e8c\u6b21\u5c01\u88c5\uff08Table,Dialog:....\uff09\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"easy-elplus == Element Plus\u4e8c\u6b21\u5c01\u88c5\uff08Table,Dialog:....\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/71966.html","og_locale":"zh_CN","og_type":"article","og_title":"easy-elplus == Element Plus\u4e8c\u6b21\u5c01\u88c5\uff08Table,Dialog:....\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"Easy ElPlus Introduction WHAT easy-elplus \u662f\u57fa\u4e8e Element Plus \u7684\u4e8c\u6b21\u5c01\u88c5\u7ec4\u4ef6\u5e93\u3002\u5b83\u5728\u5b8c\u5168\u4fdd\u7559 Element Plus \u7ec4\u4ef6\u80fd\u529b\u7684\u57fa\u7840\u4e0a&#xff0c;\u5bf9\u5e38\u7528\u7ec4\u4ef6\u8fdb\u884c\u4e86\u529f\u80fd\u589e\u5f3a\u548c API \u7b80\u5316\u3002\u901a\u8fc7\u5185\u7f6e\u7684\u901a\u7528\u903b\u8f91\u5904\u7406&#xff0c;\u5f00\u53d1\u8005\u53ef\u4ee5\u7528\u66f4\u5c11\u7684\u4ee3\u7801\u5b9e\u73b0\u66f4\u4e30\u5bcc\u7684\u529f\u80fd\u3002 WHY \u5728\u6211\u4eec\u7684\u65e5\u5e38\u5f00\u53d1\u4e2d&#xff0c;\u5927\u91cf\u7684\u65f6\u95f4\u88ab\u6d88\u8017\u5728\u91cd\u590d\u7684\u4ea4\u4e92\u903b\u8f91\u4e0a&#xff0c;\u4f8b\u5982&#xff1a; \u6bcf\u4e00\u4e2a\u5f02\u6b65\u64cd\u4f5c\u6309\u94ae\u90fd\u9700\u8981","og_url":"https:\/\/www.wsisp.com\/helps\/71966.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-02-04T09:41:21+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/71966.html","url":"https:\/\/www.wsisp.com\/helps\/71966.html","name":"easy-elplus == Element Plus\u4e8c\u6b21\u5c01\u88c5\uff08Table,Dialog:....\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-02-04T09:41:21+00:00","dateModified":"2026-02-04T09:41:21+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/71966.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/71966.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/71966.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"easy-elplus == Element Plus\u4e8c\u6b21\u5c01\u88c5\uff08Table,Dialog:....\uff09"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/71966","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=71966"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/71966\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=71966"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=71966"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=71966"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=71966"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}