<template>
<view class="content">
</view>
</template>
<script lang="uts">
export enum MyEnum {
A = 10, B = 20, C = 30
}
export default {
data() {
return {
title: 'Hello'
}
},
onLoad() {
console.log("---------------------");
let a : MyEnum = MyEnum.A
console.log(MyEnum.A);
},
methods: {
}
}
</script>
<style>
.content {
display: flex;
align-items: center;
justify-content: center;
}
.logo {
height: 200rpx;
width: 200rpx;
margin-top: 200rpx;
margin-bottom: 50rpx;
}
.title {
font-size: 36rpx;
color: #8f8f94;
}
</style>