UNPKG

quick-admin-vue3-core

Version:

以快(计算机执行效率、开发效率)为核心的后台管理系统开发模板

35 lines (34 loc) 1.11 kB
import { defineComponent as a, resolveComponent as o, createElementBlock as i, openBlock as l, createVNode as s, withCtx as p, createTextVNode as d, toDisplayString as _ } from "vue"; import { _ as f } from "./_plugin-vue_export-helper-CHgC5LLL.js"; const u = { class: "img-item f-c-c-c" }, I = /* @__PURE__ */ a({ __name: "ImgItem", props: { src: {}, rejected: { type: Boolean, default: !1 } }, emits: ["click"], setup(g, { emit: c }) { const n = c; return (e, t) => { const m = o("BaseImg"), r = o("el-button"); return l(), i("div", u, [ s(m, { class: "mb-q" }), s(r, { type: e.rejected ? "success" : "primary", style: { width: "5em" }, size: "small", onClick: t[0] || (t[0] = (y) => n("click", e.rejected)), plain: e.rejected }, { default: p(() => [ d(_(e.rejected ? "取消驳回" : "驳回"), 1) ]), _: 1 }, 8, ["type", "plain"]) ]); }; } }), B = /* @__PURE__ */ f(I, [["__scopeId", "data-v-435c8cd9"]]); export { B as default };