Skip to content

Commit

Permalink
Merge pull request #78 from bhabgs/master
Browse files Browse the repository at this point in the history
flow update
  • Loading branch information
mengziwen authored Jul 9, 2021
2 parents 3cc06d6 + 2707773 commit 16f994f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion package/vitevui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vitevui",
"version": "1.0.0-beta.31",
"version": "1.0.0-beta.32",
"description": "vue3.0 ui",
"main": "lib/index.js",
"homepage": "https://bhabgs.github.io/vite-vui-docs/",
Expand Down
16 changes: 8 additions & 8 deletions package/vitevui/src/flow/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,14 @@ const props = {

const viFlow = defineComponent({
props,
setup(props, context) {
const test = () => {
console.log(2);
};
context.expose({
test,
});
},
// setup(props, context) {
// const test = () => {
// console.log(2);
// };
// context.expose({
// test,
// });
// },
data() {
return {
recordType: 0 as any, // 0规则 1决策
Expand Down

0 comments on commit 16f994f

Please sign in to comment.