feat(资源组配置-->编辑组件): 新增CP戒指选项
This commit is contained in:
parent
7f068b35be
commit
88587c522c
@ -609,6 +609,13 @@
|
||||
@click="addContent('AVATAR_FRAME')"
|
||||
><i class="el-icon-circle-plus" />{{ getPropsTypeName('AVATAR_FRAME') }}</el-button
|
||||
>
|
||||
<el-button
|
||||
type="text"
|
||||
:disabled="disableAddContent"
|
||||
:loading="propsTypeData['CP_RING'].loading"
|
||||
@click="addContent('CP_RING')"
|
||||
><i class="el-icon-circle-plus" />{{ getPropsTypeName('CP_RING') }}</el-button
|
||||
>
|
||||
<el-button
|
||||
type="text"
|
||||
:disabled="disableAddContent"
|
||||
@ -785,6 +792,11 @@ export default {
|
||||
loadData: false,
|
||||
list: []
|
||||
},
|
||||
CP_RING: {
|
||||
loading: false,
|
||||
loadData: false,
|
||||
list: []
|
||||
},
|
||||
DATA_CARD: {
|
||||
loading: false,
|
||||
loadData: false,
|
||||
@ -857,6 +869,10 @@ export default {
|
||||
}
|
||||
},
|
||||
propsTypeMap: {
|
||||
CP_RING: {
|
||||
value: "PROPS",
|
||||
name: "CP戒指"
|
||||
},
|
||||
AVATAR_FRAME: {
|
||||
value: "PROPS",
|
||||
name: "头像框"
|
||||
@ -1073,6 +1089,7 @@ export default {
|
||||
getPropsTypeName(type) {
|
||||
const typeNameKeyMap = {
|
||||
AVATAR_FRAME: "avatarFrame",
|
||||
CP_RING: "cpRing",
|
||||
RIDE: "ride",
|
||||
NOBLE_VIP: "nobleVip",
|
||||
THEME: "theme",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user