更新cp装扮
This commit is contained in:
@@ -32,7 +32,10 @@ const newFormInline = ref(
|
||||
change_value: "",
|
||||
rights_icon: "",
|
||||
bg_image: "",
|
||||
color: ""
|
||||
color: "",
|
||||
pendant_id: "",
|
||||
rights_icon_id: ""
|
||||
|
||||
}
|
||||
);
|
||||
function getRef() {
|
||||
@@ -101,15 +104,12 @@ defineExpose({ getRef });
|
||||
<el-option v-for="item in SpecialList" :key="item.id" :label="item.name" :value="item.id">
|
||||
</el-option>
|
||||
</el-select>
|
||||
<!-- <uploadImage @handleSuccess="handleIconSuccess" :acceptType="'.mp4'" :limit="1"
|
||||
:echoUrl="newFormInline.rights_icon" /> -->
|
||||
</el-form-item>
|
||||
<el-form-item label="CP装扮" prop="pendant_id">
|
||||
<el-select v-model="newFormInline.pendant_id" placeholder="请选择CP装扮">
|
||||
<el-option v-for="item in dressList" :key="item.id" :label="item.name" :value="item.id">
|
||||
</el-option>
|
||||
</el-select>
|
||||
<!-- <uploadImage @handleSuccess="handleBgSuccess" :acceptType="'.mp4'" :limit="1" :echoUrl="newFormInline.pendant" /> -->
|
||||
</el-form-item>
|
||||
<el-form-item label="头像框" prop="dress_id">
|
||||
<el-select v-model="newFormInline.dress_id" placeholder="请选择头像框">
|
||||
|
||||
@@ -108,10 +108,10 @@ export function useData() {
|
||||
name: rowData?.name ?? "",
|
||||
image: rowData?.image ?? "",
|
||||
change_value: rowData?.change_value ?? "",
|
||||
rights_icon: rowData?.rights_icon_id ?? "",
|
||||
rights_icon_id: rowData?.rights_icon_id ?? "",
|
||||
dress_id: rowData?.dress_id ?? "",
|
||||
jiajia_id: rowData?.jiajia_id ?? "",
|
||||
pendant: rowData?.pendant_id ?? "",
|
||||
pendant_id: rowData?.pendant_id ?? "",
|
||||
direction: rowData?.direction ?? ""
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user