2 Star 3 Fork 3

element-plus/doc-archive

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
DOCS jp51.0cb71eee40c7d7b6716e.js 13.38 KB
一键复制 编辑 原始数据 按行查看 历史
iamkun 提交于 2021-09-15 18:54 . chore: update
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[264],{
/***/ 1003:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
// ESM COMPAT FLAG
__webpack_require__.r(__webpack_exports__);
// EXTERNAL MODULE: ./node_modules/vue/dist/vue.esm-browser.prod.js
var vue_esm_browser_prod = __webpack_require__(0);
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/dist/templateLoader.js??ref--6!./node_modules/vue-loader/dist??ref--3-0!./website/md-loader!./website/docs/jp/result.md?vue&type=template&id=26d5f463
const resultvue_type_template_id_26d5f463_hoisted_1 = {
class: "content element-doc"
};
const resultvue_type_template_id_26d5f463_hoisted_2 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("Result ");
const resultvue_type_template_id_26d5f463_hoisted_3 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("p", null, "Used to give feedback on the result of user's operation or access exception.", -1);
const resultvue_type_template_id_26d5f463_hoisted_4 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("Basic usage ");
const _hoisted_5 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("pre", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", {
class: "html"
}, "<el-row>\n <el-col :sm=\"12\" :lg=\"6\">\n <el-result\n icon=\"success\"\n title=\"Success Tip\"\n subTitle=\"Please follow the instructions\"\n >\n <template #extra>\n <el-button type=\"primary\" size=\"medium\">Back</el-button>\n </template>\n </el-result>\n </el-col>\n <el-col :sm=\"12\" :lg=\"6\">\n <el-result\n icon=\"warning\"\n title=\"Warning Tip\"\n subTitle=\"Please follow the instructions\"\n >\n <template #extra>\n <el-button type=\"primary\" size=\"medium\">Back</el-button>\n </template>\n </el-result>\n </el-col>\n <el-col :sm=\"12\" :lg=\"6\">\n <el-result\n icon=\"error\"\n title=\"Error Tip\"\n subTitle=\"Please follow the instructions\"\n >\n <template #extra>\n <el-button type=\"primary\" size=\"medium\">Back</el-button>\n </template>\n </el-result>\n </el-col>\n <el-col :sm=\"12\" :lg=\"6\">\n <el-result\n icon=\"info\"\n title=\"Info Tip\"\n subTitle=\"Please follow the instructions\"\n >\n <template #extra>\n <el-button type=\"primary\" size=\"medium\">Back</el-button>\n </template>\n </el-result>\n </el-col>\n</el-row>\n")], -1);
const _hoisted_6 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("Customized content ");
const _hoisted_7 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("pre", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", {
class: "html"
}, "<el-result title=\"404\" subTitle=\"Sorry, request error\">\n <template #icon>\n <el-image\n src=\"https://shadow.elemecdn.com/app/element/hamburger.9cf7b091-55e9-11e9-a976-7f4d0b07eef6.png\"\n ></el-image>\n </template>\n <template #extra>\n <el-button type=\"primary\" size=\"medium\">Back</el-button>\n </template>\n</el-result>\n")], -1);
const _hoisted_8 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("Result Attributes ");
const _hoisted_9 = /*#__PURE__*/Object(vue_esm_browser_prod["createStaticVNode"])("<table><thead><tr><th>Attribute</th><th>Description</th><th>Type</th><th>Accepted Values</th><th>Default</th></tr></thead><tbody><tr><td>title</td><td>title</td><td>string</td><td>—</td><td>—</td></tr><tr><td>sub-title</td><td>sub title</td><td>string</td><td>—</td><td>—</td></tr><tr><td>icon</td><td>icon type</td><td>string</td><td>success / warning / info / error</td><td>info</td></tr></tbody></table>", 1);
const _hoisted_10 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("Result Slots ");
const _hoisted_11 = /*#__PURE__*/Object(vue_esm_browser_prod["createStaticVNode"])("<table><thead><tr><th>Name</th><th>Description</th></tr></thead><tbody><tr><td>icon</td><td>custom icon</td></tr><tr><td>title</td><td>custom title</td></tr><tr><td>subTitle</td><td>custom sub title</td></tr><tr><td>extra</td><td>custom extra area</td></tr></tbody></table>", 1);
function resultvue_type_template_id_26d5f463_render(_ctx, _cache, $props, $setup, $data, $options) {
const _component_app_link = Object(vue_esm_browser_prod["resolveComponent"])("app-link");
const _component_app_heading = Object(vue_esm_browser_prod["resolveComponent"])("app-heading");
const _component_element_demo0 = Object(vue_esm_browser_prod["resolveComponent"])("element-demo0");
const _component_demo_block = Object(vue_esm_browser_prod["resolveComponent"])("demo-block");
const _component_element_demo1 = Object(vue_esm_browser_prod["resolveComponent"])("element-demo1");
const _component_right_nav = Object(vue_esm_browser_prod["resolveComponent"])("right-nav");
return Object(vue_esm_browser_prod["openBlock"])(), Object(vue_esm_browser_prod["createElementBlock"])("section", resultvue_type_template_id_26d5f463_hoisted_1, [Object(vue_esm_browser_prod["createVNode"])(_component_app_heading, {
id: "result",
content: "Result",
href: "#result",
level: "2"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [resultvue_type_template_id_26d5f463_hoisted_2, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
class: "header-anchor",
href: "#result"
})]),
_: 1
}), resultvue_type_template_id_26d5f463_hoisted_3, Object(vue_esm_browser_prod["createVNode"])(_component_app_heading, {
id: "basic-usage",
content: "Basic usage",
href: "#basic-usage",
level: "3"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [resultvue_type_template_id_26d5f463_hoisted_4, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
class: "header-anchor",
href: "#basic-usage"
})]),
_: 1
}), Object(vue_esm_browser_prod["createVNode"])(_component_demo_block, null, {
source: Object(vue_esm_browser_prod["withCtx"])(() => [Object(vue_esm_browser_prod["createVNode"])(_component_element_demo0)]),
highlight: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_5]),
_: 1
}), Object(vue_esm_browser_prod["createVNode"])(_component_app_heading, {
id: "customized-content",
content: "Customized content",
href: "#customized-content",
level: "3"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_6, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
class: "header-anchor",
href: "#customized-content"
})]),
_: 1
}), Object(vue_esm_browser_prod["createVNode"])(_component_demo_block, null, {
source: Object(vue_esm_browser_prod["withCtx"])(() => [Object(vue_esm_browser_prod["createVNode"])(_component_element_demo1)]),
highlight: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_7]),
_: 1
}), Object(vue_esm_browser_prod["createVNode"])(_component_app_heading, {
id: "result-attributes",
content: "Result Attributes",
href: "#result-attributes",
level: "3"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_8, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
class: "header-anchor",
href: "#result-attributes"
})]),
_: 1
}), _hoisted_9, Object(vue_esm_browser_prod["createVNode"])(_component_app_heading, {
id: "result-slots",
content: "Result Slots",
href: "#result-slots",
level: "3"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_10, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
class: "header-anchor",
href: "#result-slots"
})]),
_: 1
}), _hoisted_11, Object(vue_esm_browser_prod["createVNode"])(_component_right_nav)]);
}
// CONCATENATED MODULE: ./website/docs/jp/result.md?vue&type=template&id=26d5f463
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/dist??ref--3-0!./website/md-loader!./website/docs/jp/result.md?vue&type=script&lang=ts
/* harmony default export */ var resultvue_type_script_lang_ts = ({
name: 'component-doc',
components: {
"element-demo0": function () {
const {
createTextVNode: _createTextVNode,
resolveComponent: _resolveComponent,
withCtx: _withCtx,
createVNode: _createVNode,
openBlock: _openBlock,
createElementBlock: _createElementBlock
} = vue_esm_browser_prod;
const _hoisted_1 = /*#__PURE__*/_createTextVNode("Back");
const _hoisted_2 = /*#__PURE__*/_createTextVNode("Back");
const _hoisted_3 = /*#__PURE__*/_createTextVNode("Back");
const _hoisted_4 = /*#__PURE__*/_createTextVNode("Back");
function render(_ctx, _cache) {
const _component_el_button = _resolveComponent("el-button");
const _component_el_result = _resolveComponent("el-result");
const _component_el_col = _resolveComponent("el-col");
const _component_el_row = _resolveComponent("el-row");
return _openBlock(), _createElementBlock("div", null, [_createVNode(_component_el_row, null, {
default: _withCtx(() => [_createVNode(_component_el_col, {
sm: 12,
lg: 6
}, {
default: _withCtx(() => [_createVNode(_component_el_result, {
icon: "success",
title: "Success Tip",
subTitle: "Please follow the instructions"
}, {
extra: _withCtx(() => [_createVNode(_component_el_button, {
type: "primary",
size: "medium"
}, {
default: _withCtx(() => [_hoisted_1]),
_: 1
})]),
_: 1
})]),
_: 1
}), _createVNode(_component_el_col, {
sm: 12,
lg: 6
}, {
default: _withCtx(() => [_createVNode(_component_el_result, {
icon: "warning",
title: "Warning Tip",
subTitle: "Please follow the instructions"
}, {
extra: _withCtx(() => [_createVNode(_component_el_button, {
type: "primary",
size: "medium"
}, {
default: _withCtx(() => [_hoisted_2]),
_: 1
})]),
_: 1
})]),
_: 1
}), _createVNode(_component_el_col, {
sm: 12,
lg: 6
}, {
default: _withCtx(() => [_createVNode(_component_el_result, {
icon: "error",
title: "Error Tip",
subTitle: "Please follow the instructions"
}, {
extra: _withCtx(() => [_createVNode(_component_el_button, {
type: "primary",
size: "medium"
}, {
default: _withCtx(() => [_hoisted_3]),
_: 1
})]),
_: 1
})]),
_: 1
}), _createVNode(_component_el_col, {
sm: 12,
lg: 6
}, {
default: _withCtx(() => [_createVNode(_component_el_result, {
icon: "info",
title: "Info Tip",
subTitle: "Please follow the instructions"
}, {
extra: _withCtx(() => [_createVNode(_component_el_button, {
type: "primary",
size: "medium"
}, {
default: _withCtx(() => [_hoisted_4]),
_: 1
})]),
_: 1
})]),
_: 1
})]),
_: 1
})]);
}
const democomponentExport = {};
return {
render,
...democomponentExport
};
}(),
"element-demo1": function () {
const {
resolveComponent: _resolveComponent,
createVNode: _createVNode,
createTextVNode: _createTextVNode,
withCtx: _withCtx,
openBlock: _openBlock,
createElementBlock: _createElementBlock
} = vue_esm_browser_prod;
const _hoisted_1 = /*#__PURE__*/_createTextVNode("Back");
function render(_ctx, _cache) {
const _component_el_image = _resolveComponent("el-image");
const _component_el_button = _resolveComponent("el-button");
const _component_el_result = _resolveComponent("el-result");
return _openBlock(), _createElementBlock("div", null, [_createVNode(_component_el_result, {
title: "404",
subTitle: "Sorry, request error"
}, {
icon: _withCtx(() => [_createVNode(_component_el_image, {
src: "https://shadow.elemecdn.com/app/element/hamburger.9cf7b091-55e9-11e9-a976-7f4d0b07eef6.png"
})]),
extra: _withCtx(() => [_createVNode(_component_el_button, {
type: "primary",
size: "medium"
}, {
default: _withCtx(() => [_hoisted_1]),
_: 1
})]),
_: 1
})]);
}
const democomponentExport = {};
return {
render,
...democomponentExport
};
}()
}
});
// CONCATENATED MODULE: ./website/docs/jp/result.md?vue&type=script&lang=ts
// CONCATENATED MODULE: ./website/docs/jp/result.md
resultvue_type_script_lang_ts.render = resultvue_type_template_id_26d5f463_render
/* harmony default export */ var result = __webpack_exports__["default"] = (resultvue_type_script_lang_ts);
/***/ })
}]);
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/element-plus/doc-archive.git
git@gitee.com:element-plus/doc-archive.git
element-plus
doc-archive
doc-archive
main

搜索帮助