Skip to content

Commit

Permalink
fix(ui): 定义组件上下文对象
Browse files Browse the repository at this point in the history
affects: @varlet/ui
  • Loading branch information
haoziqaq committed Dec 2, 2020
1 parent f40d014 commit 4e926c7
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions packages/varlet-ui/src/context/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import { reactive } from 'vue'

interface Context {
zIndex: number
}

const context: Context = {
zIndex: 2000
}

export default reactive(context)

0 comments on commit 4e926c7

Please sign in to comment.