音频合成,视频合成

This commit is contained in:
ZLI263
2025-10-06 12:19:03 +08:00
parent 69fd595ebb
commit f36fc5630c
18 changed files with 2414 additions and 155 deletions

View File

@@ -4,6 +4,7 @@ const getters = {
token: state => state.user.token,
avatar: state => state.user.avatar,
name: state => state.user.name,
phone: state => state.user.phone,
permission_routes: state => state.permission.routes,
cachedViews: state => state.tagsView.cachedViews,
visitedViews: state => state.tagsView.visitedViews

View File

@@ -6,7 +6,8 @@ const getDefaultState = () => {
return {
token: getToken(),
name: '',
avatar: ''
avatar: '',
phone: ''
}
}
@@ -24,6 +25,9 @@ const mutations = {
},
SET_AVATAR: (state, avatar) => {
state.avatar = avatar
},
SET_PHONE: (state, phone) => {
state.phone = phone
}
}
@@ -53,10 +57,13 @@ const actions = {
return reject('Verification failed, please Login again.')
}
console.log('getInfo 0812 ', data)
const { name, avatar } = data
const { userName, avatar, phone } = data
console.log('getInfo userName 0812 ', userName)
console.log('getInfo avatar 0812 ', avatar)
commit('SET_NAME', name)
console.log('getInfo phone 0812 ', phone)
commit('SET_NAME', userName)
commit('SET_AVATAR', avatar)
commit('SET_PHONE', phone || '')
resolve(data)
}).catch(error => {
reject(error)