修复部分bug
This commit is contained in:
@@ -342,7 +342,7 @@
|
||||
<createSlogan ref="createSlogan" @setSloganData="setSloganData"></createSlogan>
|
||||
|
||||
<!-- 蒙层 start-->
|
||||
<div class="mark_loading" v-show="isShowMark">
|
||||
<div class="mark_loading" v-show="isShowMark || getLangIsShowMark">
|
||||
<a-spin size="large" />
|
||||
|
||||
<!-- <div v-show="remGenerate" class="mark_loading_btn" @click="removeGenerate">{{$t('Generate.Close')}}</div> -->
|
||||
@@ -388,6 +388,11 @@ export default defineComponent({
|
||||
sketchCategory,
|
||||
createSlogan,
|
||||
},
|
||||
props:{
|
||||
getLangIsShowMark:{
|
||||
type:Boolean,
|
||||
}
|
||||
},
|
||||
setup() {
|
||||
const store = useStore();
|
||||
let menuList = computed(()=>{
|
||||
@@ -613,7 +618,6 @@ export default defineComponent({
|
||||
this.uploadUrl = getUploadUrl()
|
||||
this.getLibraryList('')
|
||||
this.getClass()
|
||||
this.getSex()
|
||||
this.token = getCookie("token") || "";
|
||||
this.workspace = computed(()=>{
|
||||
return this.store?.state?.Workspace?.workspace
|
||||
@@ -646,7 +650,8 @@ export default defineComponent({
|
||||
// params = 'MalePosition'
|
||||
// }
|
||||
this.store.commit('setPosition',this.sex)
|
||||
this.designType = this.designTypeList.Sketchboard?.[0].value
|
||||
this.designType = this.store.state.UserHabit.Position?.[0].value
|
||||
// this.designType = this.designTypeList?.Sketchboard?.[0].value
|
||||
|
||||
// await Https.axiosGet(Https.httpUrls.workspaceenumValues,{params:{enumName:params}}).then((rv: any) => {
|
||||
// if (rv) {
|
||||
@@ -722,6 +727,9 @@ export default defineComponent({
|
||||
if(this.selectCode != 'DesignElements'){
|
||||
this.getClass()
|
||||
}
|
||||
if(this.selectCode == 'Sketchboard')this.getSex()
|
||||
|
||||
|
||||
this.getLibraryList('')
|
||||
this.captionGeneration = ''
|
||||
this.selectGenerateList = []
|
||||
|
||||
Reference in New Issue
Block a user