2020-03-23 03:00:24 +00:00
|
|
|
<template>
|
2020-05-28 11:45:50 +00:00
|
|
|
<a-config-provider prefixCls="ss">
|
|
|
|
jdjj
|
|
|
|
<div>ddd</div>
|
|
|
|
<a-button
|
|
|
|
:class="['test']"
|
|
|
|
class="aaa"
|
|
|
|
style="display: inline"
|
|
|
|
block
|
|
|
|
@click="onClick"
|
|
|
|
:type="type"
|
|
|
|
>
|
2020-03-23 03:00:24 +00:00
|
|
|
Primary
|
|
|
|
</a-button>
|
2020-05-27 11:11:46 +00:00
|
|
|
<a-button block>
|
|
|
|
Default
|
|
|
|
</a-button>
|
|
|
|
<a-button type="dashed" block>
|
2020-03-23 03:00:24 +00:00
|
|
|
Dashed
|
|
|
|
</a-button>
|
2020-05-27 11:11:46 +00:00
|
|
|
<a-button type="danger" block>
|
2020-03-23 03:00:24 +00:00
|
|
|
Danger
|
|
|
|
</a-button>
|
2020-05-27 11:11:46 +00:00
|
|
|
<a-button type="link" block>
|
2020-03-23 03:00:24 +00:00
|
|
|
Link
|
|
|
|
</a-button>
|
2020-05-28 11:45:50 +00:00
|
|
|
</a-config-provider>
|
2020-03-23 03:00:24 +00:00
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
export default {
|
|
|
|
name: 'Demo',
|
2020-05-28 11:45:50 +00:00
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
type: 'primary',
|
|
|
|
};
|
|
|
|
},
|
2020-05-27 11:11:46 +00:00
|
|
|
methods: {
|
|
|
|
onClick() {
|
|
|
|
console.log(1);
|
|
|
|
},
|
|
|
|
},
|
2020-03-23 03:00:24 +00:00
|
|
|
};
|
|
|
|
</script>
|