@javaguns/flow-ui
Version:
``` <template> <a-spin :spinning="loading"> <FlowDesigner ref="flowDesigner" top="50px"> </FlowDesigner> </a-spin> </template> <script lang="ts" setup> import { ref, provide, onMounted } from 'vue'; import { FlowDesigner, LoadingKey } from '@j
29 lines (28 loc) • 1.19 kB
JavaScript
import { defineComponent as t, reactive as o, openBlock as c, createElementBlock as g, createCommentVNode as m } from "vue";
import "./style/index.css";
const i = ["src"], p = t({ name: "flow-task-image" }), _ = /* @__PURE__ */ t({
...p,
props: {
status: {}
},
setup(s) {
const e = s, a = o({
1: "https://foruda.gitee.com/images/1682738349981369525/f3d7c9b9_9837676.png",
2: "https://foruda.gitee.com/images/1682738381906033366/a3ed8e85_9837676.png",
3: "https://foruda.gitee.com/images/1682738415936237033/3c2818c9_9837676.png",
4: "https://foruda.gitee.com/images/1682738439550291527/117e4c3d_9837676.png",
5: "https://foruda.gitee.com/images/1682738468215302999/6791fac5_9837676.png",
6: "https://foruda.gitee.com/images/1682738526094709774/c9faf150_9837676.png",
7: "https://foruda.gitee.com/images/1682738496612958402/8483a634_9837676.png",
8: "https://foruda.gitee.com/images/1682738566807297036/5bc4abfe_9837676.png"
});
return (n, r) => e.status != 4 ? (c(), g("img", {
key: 0,
src: a[e.status],
class: "guns-flow-task-image"
}, null, 8, i)) : m("", !0);
}
});
export {
_ as default
};