标签:状态 枚举
var status = { INIT: { key: ‘init‘, text: ‘初始化中‘ }, DESTORY: { key: ‘destory‘, text: ‘已销毁‘ } }
本文出自 “技术人生” 博客,请务必保留此出处http://wangyuelucky.blog.51cto.com/1011508/1717177
状态枚举类设计
原文地址:http://wangyuelucky.blog.51cto.com/1011508/1717177