breaking change(Button): add success type, remove info type

This commit is contained in:
chenjiahan
2020-08-21 10:09:21 +08:00
parent 82b585fc2b
commit 07d1a2590f
19 changed files with 54 additions and 52 deletions
+2 -2
View File
@@ -32,7 +32,7 @@ app.use(Form);
:rules="[{ required: true, message: 'Password is required' }]"
/>
<div style="margin: 16px;">
<van-button round block type="info" native-type="submit">
<van-button round block type="primary" native-type="submit">
Submit
</van-button>
</div>
@@ -78,7 +78,7 @@ export default {
:rules="[{ validator: asyncValidator, message: 'Error message' }]"
/>
<div style="margin: 16px;">
<van-button round block type="info" native-type="submit">
<van-button round block type="primary" native-type="submit">
Submit
</van-button>
</div>