除了颜色选择图片,注册页面
This commit is contained in:
@@ -121,6 +121,7 @@ setup(props,{emit}) {
|
||||
let data = {
|
||||
id:habitSetStyleData.selectStyle.id,
|
||||
name:habitSetStyleData.selectStyle.name,
|
||||
value:habitSetStyleData.selectStyle.value,
|
||||
isRevampModel:false,
|
||||
}
|
||||
if(oldDataId == data.id){
|
||||
@@ -150,10 +151,10 @@ setup(props,{emit}) {
|
||||
let setClear = ()=>{
|
||||
habitSetStyleData.selectStyle.id = ''
|
||||
habitSetStyleData.selectStyle.name = ''
|
||||
habitSetStyleData.selectStyle.value = ''
|
||||
}
|
||||
let setItemSelect = (item:any)=>{
|
||||
habitSetStyleData.selectStyle.name = item.name
|
||||
habitSetStyleData.selectStyle.id = item.id
|
||||
habitSetStyleData.selectStyle = Object.assign({},item)
|
||||
}
|
||||
return {
|
||||
habitSetStyle,
|
||||
|
||||
Reference in New Issue
Block a user