[new feature] ActionSheet: add color option (#4073)

This commit is contained in:
neverland
2019-08-08 20:48:24 +08:00
committed by GitHub
parent c012b29a20
commit a75e4cfb18
7 changed files with 29 additions and 6 deletions
+3 -1
View File
@@ -66,6 +66,8 @@
</template>
<script>
import { GREEN } from '../../utils/color';
export default {
i18n: {
'zh-CN': {
@@ -106,7 +108,7 @@ export default {
statusActions() {
return [
{ name: this.$t('option') },
{ name: this.$t('option'), color: GREEN },
{ loading: true },
{ name: this.$t('disabledOption'), disabled: true }
];