fix
This commit is contained in:
@@ -355,7 +355,7 @@ export default defineComponent({
|
||||
async getSex(){
|
||||
await Https.axiosGet(Https.httpUrls.workspaceenumValues,{params:{enumName:'Sex'}}).then((rv: any) => {
|
||||
if (rv) {
|
||||
|
||||
this.store.commit("setWorkspaceSex", rv);
|
||||
this.sex = rv
|
||||
}
|
||||
})
|
||||
@@ -370,6 +370,7 @@ export default defineComponent({
|
||||
await Https.axiosGet(Https.httpUrls.workspaceenumValues,{params:{enumName:params}}).then((rv: any) => {
|
||||
if (rv) {
|
||||
this.singleTypeList = rv
|
||||
this.store.commit("setWorkspacePosition", rv);
|
||||
if(str == 'sex'){
|
||||
this.workspaceItem.position = this.singleTypeList[0].name
|
||||
this.workspaceItem.positionEnum = this.singleTypeList[0]
|
||||
|
||||
Reference in New Issue
Block a user