{"id":111854,"date":"2020-05-30T16:35:48","date_gmt":"2020-05-30T08:35:48","guid":{"rendered":"http:\/\/4563.org\/?p=111854"},"modified":"2020-05-30T16:35:48","modified_gmt":"2020-05-30T08:35:48","slug":"js-import-%e8%af%ad%e6%b3%95%e9%97%ae%e9%a2%98","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=111854","title":{"rendered":"js import \u8bed\u6cd5\u95ee\u9898"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  js import \u8bed\u6cd5\u95ee\u9898               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : lxk11153 <\/span>  <span><i><\/i> 44<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<ul>\n<li>\u4e0d\u662f\u524d\u7aef\uff0c\u4e14 js \u53d1\u5c55\u597d\u5feb\uff0c\u5b8c\u5168\u4e0d\u61c2\u4e86<\/li>\n<li>http:\/\/es6.ruanyifeng.com\/\n<ul>\n<li><code>import {a} from '.\/xxx.js'<\/code><\/li>\n<li>\u5927\u6982\u7406\u89e3\u5c31\u662f\u4ece\u8fd9\u4e2a<code>.\/xxx.js<\/code>\u6587\u4ef6\u5f15\u5165<code>a<\/code><\/li>\n<\/ul>\n<\/li>\n<li>https:\/\/element.eleme.io\/\n<ul>\n<li><code>import { Notification } from 'element-ui'<\/code><\/li>\n<li>\u8fd9\u79cd\u5565\u610f\u601d\uff1f\u662f\u6709\u4e2d\u95f4\u4ef6\u6765\u8f6c\u6362\u8fd9\u4e2a<code>element-ui<\/code>\u7684\u5417\uff1f<\/li>\n<\/ul>\n<\/li>\n<\/ul><\/div>\n<p><\/p>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>22<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"570138\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : randyo <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5c31\u662f\u4ece element-ui \u91cc\u9762\u5f15\u5165 Notification \u554a\uff0c\u8fd8\u80fd\u6709\u5565\u610f\u601d                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"570139\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : lxk11153 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @randyo #1 &#8216;.\/xxx.js&#8217; `.js`\u597d\u7406\u89e3\u5c31\u662f\u4ece\u6587\u4ef6\uff0c\u53ef\u662f&#8217;element-ui&#8217;\u6211\u5c31\u4e0d\u77e5\u9053\u600e\u4e48\u7406\u89e3\u4e86\uff1f\u662f\u7ea6\u5b9a\u8fd8\u662f\u4ec0\u4e48\uff1f&#8217;element-ui&#8217;\u6307\u5411\u67d0\u6587\u4ef6\uff1f\uff1f\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"570140\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Biwood <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u662f\u7684\uff0c\u4e0b\u9762\u90a3\u79cd\u5199\u6cd5\u662f\u57fa\u4e8e\u8fd9\u4e9b\u5de5\u5177\uff1awebpack\u3001babeljs \u4ee5\u53ca element-ui \u6559\u7a0b\u91cc\u63d0\u5230\u7684 babel-plugin-component                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"570141\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Biwood <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u518d\u8865\u5145\u4e00\u4e2a\u5927\u524d\u63d0\uff0c\u8be5\u9879\u76ee\u662f\u7528\u4e00\u4e2a\u53eb npm \u7684\u4e1c\u897f\u6765\u5b89\u88c5 element-ui \u7684\uff0c\u4e0a\u9762\u63d0\u5230\u7684\u5de5\u5177\u90fd\u9700\u8981\u901a\u8fc7 npm \u5b89\u88c5                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"570142\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : dengshen <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e00\u4e2a\u6587\u4ef6\u53ef\u4ee5\u5bfc\u51fa\u591a\u4e2a\u53d8\u91cf \/\u51fd\u6570\u3002<br \/>import \u5927\u62ec\u53f7\u4e2d\u5bfc\u51fa\u67d0\u4e00\u4e2a\u53d8\u91cf \/\u51fd\u6570\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"570143\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Hario <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             element-ui \u662f\u4e2a\u7ec4\u4ef6\u5e93\u5427\uff0c\u7528\u7684\u8bdd\u8981\u7528 npm \u5b89\u88c5\uff0c\u7136\u540e\u6309\u9700\u5bfc\u5165\u7ec4\u4ef6\u3002\u8bf4\u9519\u52ff\u602a\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"570144\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : randyo <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @lxk11153 \u73b0\u5728\u90fd\u662f\u8981\u4f7f\u7528 npm \u5b89\u88c5\u4f9d\u8d56\uff0c\u7136\u540e\u901a\u8fc7 webpack \u4e4b\u7c7b\u7684\u5de5\u5177\u6253\u5305\uff0c\u8fd9\u4e9b\u5de5\u5177\u6253\u5305\u7684\u65f6\u5019\u4f1a\u53bb npm \u5b89\u88c5\u7684\u4f9d\u8d56\u4e0b\u9762\uff08\u6700\u8fd1\u7684\u662f\u9879\u76ee\u6839\u76ee\u5f55\u4e0b\u7684 node_modules \u6587\u4ef6\u5939\u4e0b\u9762\uff09\u627e\u5230\u8fd9\u4e2a\u6a21\u5757\uff0c\u628a\u4ee3\u7801\u62c9\u51fa\u6765\u6253\u5305                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"570145\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Shook <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             xxx.js \u91cc\u9762\u53ef\u4ee5 export \u6570\u4e2a\u5177\u540d\u7684\u73a9\u610f\u513f\uff1a<br \/>export function a = function (param) { &#8230; };<br \/>expor function b = function () { &#8230; };<\/p>\n<p>\u6240\u4ee5\u4f60\u53ef\u4ee5\u5728\u5916\u90e8\u8fd9\u6837\u5f15\u7528\uff1a<br \/>import { a } from &#8216;xxx.js&#8217;<br \/>a(param); \/\/ \u6210\u529f\u4e86<br \/>b(); \/\/ \u5931\u8d25\u4e86\uff0c\u56e0\u4e3a\u4e0d\u5b58\u5728\u8fd9\u4e2a\u65b9\u6cd5<\/p>\n<p>import xxx from &#8216;element-ui&#8217;\u5c31\u662f\u4ece node_modules \u627e\u8fd9\u4e2a\u6a21\u5757\u7684\u5165\u53e3\u6587\u4ef6\uff0c\u4ece\u4e2d\u5f15\u5165\u73a9\u610f\u513f\u3002                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"570146\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : wangyzj <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u9ed8\u8ba4\u672c\u8def\u9762 node_modules\/\u4e0b\u9762\u7684 element-ui \u6587\u4ef6\u5939\u4e0b<br \/>\u518d\u770b package.json \u7684\u914d\u7f6e\u5bf9\u5e94 element-ui.common.js \u7531 src\/index.js \u7f16\u8bd1<br \/>export default \u91cc\u9762\u6709 Notification \u6a21\u5757                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"570147\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : gbin <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u8fd9\u662f\u524d\u7aef\u7684\u6a21\u5757\u5316\u3002element-ui \u662f\u4e00\u4e2a\u6a21\u5757\uff08\u6216\u8005\u4e5f\u53eb\u4e00\u4e2a\u5305\uff09\uff0c\u6a21\u5757\u4e2d\u6709\u4e2a `package.json` \u6587\u4ef6\uff0c\u91cc\u9762\u5b9a\u4e49\u4e86\u8fd9\u4e2a\u6a21\u5757\u7684\u5165\u53e3\u6587\u4ef6(index.js \u6216\u8005\u662f\u5176\u4ed6)\u3002\u8fd9\u91cc\u7684 import { Notification } from &#8216;element-ui&#8217; \u76f8\u5f53\u4e8e\u4ece\u5165\u53e3\u6587\u4ef6\u4e2d\u5f15\u5165 Notification \u5bf9\u8c61\uff0c\u5373 import { Notification } from &#8216;index.js&#8217;\u3002<br \/>\u5f53\u7136\u6a21\u5757\u7684\u5165\u53e3\u6587\u4ef6\u53ef\u80fd\u4f1a\u7ecf\u8fc7 webpack \u7b49\u5de5\u5177\u6784\u5efa\u751f\u6210\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"570148\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : ipwx <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e0d\u61c2\u5c31\u53bb\u5b66\u554a\u3002\u95ee\u8fd9\u4e9b\u57fa\u7840\u95ee\u9898\u6709\u4e2a\u5c41\u7528                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"570149\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : gbin <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             #9 \u57fa\u4e8e\u4e0a\u7684\u56de\u7b54\uff0c\u53c2\u8003<br \/>&#8211; \u8fd9\u91cc\u5b9a\u4e49\u5305\u7684\u5165\u53e3\u6587\u4ef6\u662f https:\/\/github.com\/ElemeFE\/element\/blob\/6ec5f8e900ff698cf30e9479d692784af836a108\/package.json#L5<br \/>&#8211; \u8fd9\u91cc\u914d\u7f6e\u4e86\u5165\u53e3\u6587\u4ef6\u662f\u6709 src\/index.js \u6784\u5efa\u751f\u6210\u7684 https:\/\/github.com\/ElemeFE\/element\/blob\/2604c6192f7ec1d8360b4a5c0fc2f447e2df24c1\/build\/webpack.common.js#L10-L15<br \/>&#8211; \u5165\u53e3\u6587\u4ef6\u5bfc\u5165\u4e86\u5f15\u5165\u7684\u5bf9\u8c61 https:\/\/github.com\/ElemeFE\/element\/blob\/6ec5f8e900ff698cf30e9479d692784af836a108\/src\/index.js#L248                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"570150\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : onfuns <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e0d\u5e26\u76f8\u5bf9\u8def\u5f84\u5c31\u662f\u9ed8\u8ba4\u9879\u76ee node_modules \u91cc\u627e\uff0c\u8fd9\u79cd\u662f\u7701\u7565\u5199\u6cd5\uff0c\u5176\u5b9e\u5c31\u662f \/node_modules\/element-ui\/index.js \uff0c\u8fd9\u6837\u597d\u7406\u89e3\u4e86\u5427                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"570151\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : marcong95 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4f60\u81ea\u5df1\u8d34\u7684\u962e\u4e00\u5cf0\u7684\u6587\u7ae0\u91cc\u9762\u4e5f\u6709\u8bb2\u5230\u8fd9\u4e2a\u4ece\u6a21\u5757\u800c\u975e\u67d0\u4e2a\u8def\u5f84 import \u7684\u8bed\u6cd5\uff0c\u89c1\uff1a<\/p>\n<p>http:\/\/es6.ruanyifeng.com\/#docs\/module#import-\u547d\u4ee4<\/p>\n<p>import \u540e\u9762\u7684 from \u6307\u5b9a\u6a21\u5757\u6587\u4ef6\u7684\u4f4d\u7f6e\uff0c\u53ef\u4ee5\u662f\u76f8\u5bf9\u8def\u5f84\uff0c\u4e5f\u53ef\u4ee5\u662f\u7edd\u5bf9\u8def\u5f84\uff0c.js \u540e\u7f00\u53ef\u4ee5\u7701\u7565\u3002\u5982\u679c\u53ea\u662f\u6a21\u5757\u540d\uff0c\u4e0d\u5e26\u6709\u8def\u5f84\uff0c\u90a3\u4e48\u5fc5\u987b\u6709\u914d\u7f6e\u6587\u4ef6\uff0c\u544a\u8bc9 JavaScript \u5f15\u64ce\u8be5\u6a21\u5757\u7684\u4f4d\u7f6e\u3002<\/p>\n<p>import {myMethod} from &#8216;util&#8217;;<\/p>\n<p>\u800c\u6240\u8c13\u7684\u914d\u7f6e\u6587\u4ef6\u53ef\u80fd\u5c31\u8981\u770b\u4f60\u7684\u9879\u76ee\u672c\u8eab\u4e86\uff0c\u5982\u679c\u4f60\u7528\u4e86 webpack \u7684\u8bdd\uff0c\u90a3\u8be6\u89c1 webpack \u6587\u6863\uff1a<\/p>\n<p>https:\/\/webpack.js.org\/concepts\/module-resolution\/#module-paths<\/p>\n<p>\u9ed8\u8ba4\u503c\u4e3a node_modules                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"570152\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : sneezry <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e0d\u4e25\u8c28\u5730\uff08\u76f4\u89c9\u4e0a\uff09\u8bf4\uff0cimport &#8230; from \u540e\u9762\u63a5\u7684\u4e1c\u897f\u5982\u679c\u662f\u70b9\u5f00\u5934\u7684\uff0c\u4e5f\u5c31\u662f\u76f8\u5bf9\u8def\u5f84\uff0c\u5f15\u5165\u7684\u5c31\u662f\u4f60\u81ea\u5df1\u7684\u6587\u4ef6\uff0c\u5982\u679c\u4e0d\u662f\u70b9\u5f00\u5934\u7684\uff0c\u5c31\u662f\u4ece\u5916\u90e8\uff08\u53ef\u80fd\u662f\u901a\u8fc7\u5305\u7ba1\u7406\u5b89\u88c5\u7684\u522b\u4eba\u5199\u5e93\uff09\u5f15\u5165\u7684\u6587\u4ef6\u3002\u90a3\u4e2a element-ui \u5c31\u662f\u8fd9\u4e2a\u6a21\u5757\uff1a https:\/\/www.npmjs.com\/package\/element-ui<\/p>\n<p>\u975e\u5e38\u4e25\u8c28\u5730\uff08\u4f46\u4e0d\u76f4\u89c2\uff09\u8bf4\uff0c\u5f00\u5934\u6709\u70b9\u7684\uff0c\u6309\u7167\u76f8\u5bf9\u8def\u5f84\u627e\uff0c\u5f00\u5934\u6ca1\u70b9\u7684\u5230 node_modules \u6587\u4ef6\u5939\u91cc\u9762\u627e                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"570153\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : jinliming2 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @sneezry \u5c0f\u6760\u4e00\u4e0b\u4e3e\u4e2a\u4f8b\u5916\uff1aimport xxx from &#8216;https:\/\/xxxxx&#8217;                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"570154\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : zhw2590582 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6211\u60f3\u8fd9\u4e2a\u5f88\u597d\u7406\u89e3\u554a\uff0c\u770b\u4e0b\u6587\u6863\u5c31\u77e5\u9053\u89c4\u5219\u4e86\uff0c\u8fd9\u8fd8\u8981\u95ee\uff01\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"570155\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : ZztGqk <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/JavaScript\/Reference\/Statements\/import                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"570156\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : sneezry <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @jinliming2 \u54c8\uff0c\u8fd9\u79cd\u5199\u6cd5\u6211\u7b2c\u4e00\u6b21\u89c1\uff0c\u957f\u89c1\u8bc6\u4e86\uff0c\u8fd9\u4e2a\u548c go \u5b83\u4fe9\u8c01\u6284\u7684\u8c01\u554a                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"570157\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : nanyang24 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u770b\u8bc4\u8bba\u524d 5 \u6761\u4e5f\u6ca1\u6709\u89e3\u7b54 LZ \u7684\u95ee\u9898<br \/>\u5982\u4eca\u5728\u7f51\u4e0a\u6c42\u89e3\u53ef\u592a\u96be\u4e86\uff0c\u8fd8\u8981\u5192\u7740\u88ab\u55b7\u7684\u5371\u9669                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"570158\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : lxk11153 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @nanyang24 #20 \u4e09\u662f\u6211\u60f3\u8981\u7684\u7b54\u6848\u3002<br \/>1. \u56e0\u4e3a\u6211\u53ea\u4f1a\u5199&#8221;browser-compatible JavaScript&#8221;\uff0c\u6ca1\u7528\u8fc7\u5176\u5b83 JavaScript compiler\uff0c\u6240\u4ee5\u5c31\u4e0d\u61c2\u90a3\u4e9b\u9ad8\u7ea7\u7684\u8bed\u6cd5\u4e86<br \/>2. \u4e5f\u975e\u5e38\u611f\u8c22\u5176\u4ed6\u4eba\u7684\u56de\u7b54\u3002\u5305\u62ec\u5df2\u7ecf\u5177\u4f53\u5230\u5982\u4f55\u4e00\u6b65\u6b65\u627e\u5230\u6700\u7ec8\u7684\u5f15\u5165\u6587\u4ef6\uff0c\u4e0d\u8fc7\u6709\u4e00\u4e22\u4e22\u6587\u4e0d\u5bf9\u9898\uff0c\u8fd8\u6ca1\u5230\u90a3\u4e9b js compiler \u7684\u4f7f\u7528\u4e0a\u5462                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"570159\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : cirzear <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5c31\u662f\u4ece element-ui \u7684\u7ec4\u4ef6\u5e93\u4e2d\u53ea\u5f15\u5165\u81ea\u5df1\u9700\u8981\u7684\u7ec4\u4ef6                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>js import \u8bed\u6cd5\u95ee\u9898 \u8cc7\u6df1&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/111854"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=111854"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/111854\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=111854"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=111854"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=111854"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}