画布内容储存,pose等入参回显

This commit is contained in:
X1627315083
2025-07-22 18:16:33 +08:00
parent c06fd06d82
commit 3652e0a384
22 changed files with 429 additions and 322 deletions

View File

@@ -3,7 +3,7 @@ import {RootState} from '../index'
import { Https } from "@/tool/https";
import { setLang } from "@/tool/guide";
import { setCookie } from "@/tool/cookie";
import { useI18n } from "vue-i18n";
import i18n from "@/lang/index";
import store from '../index'
interface UserHabit{
@@ -72,7 +72,7 @@ const userHabit : Module<UserHabit,RootState> = {
userId: -1,
isBeginner: false,
systemUser: -1,
avatar: "https://www.minio.aida.com.hk:12024/aida-users/87/avatar/default.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=admin%2F20241209%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20241209T055108Z&X-Amz-Expires=86400&X-Amz-SignedHeaders=host&X-Amz-Signature=04bb98c0a264b91f3c30173f7ab9e91de7bf31bd48440f4595fdd91f05629b80",
avatar: "",
followeeCount: '-',
followerCount: '-',
accountExtendList:null,
@@ -386,12 +386,13 @@ const userHabit : Module<UserHabit,RootState> = {
return new Promise((resolve,reject) => {
Https.axiosPost(Https.httpUrls.getStyleList, {}).then(
(rv) => {
const { t } = i18n.global
rv.forEach((item:any) => {
let name = item.value
item.value = item.name
item.name = name
});
const {t} = useI18n()
// const {t} = useI18n()
rv.unshift({name:t('Model.all'),value:'',id:''})
store.commit('setMannequinStyle',rv)
resolve('')