添加scheme测试代码
This commit is contained in:
@ -8,11 +8,21 @@ function add() {
|
||||
function sub() {
|
||||
store.decrement()
|
||||
}
|
||||
|
||||
function initSchema()
|
||||
{
|
||||
store.initSchema({
|
||||
name:"test"
|
||||
})
|
||||
}
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div>{{ store.count }}</div>
|
||||
<a-button @click=add>add</a-button>
|
||||
<a-button @click=sub>sub</a-button>
|
||||
<div>{{ store.schema }}</div>
|
||||
<a-button @click=initSchema>initSchema</a-button>
|
||||
|
||||
|
||||
</template>
|
||||
Reference in New Issue
Block a user