feat: 无扫码配置时自动匹配,并修复我的页列表样式

This commit is contained in:
2026-11-02 10:54:10 +08:00
parent cc2d0218b5
commit c6084e8b2c
7 changed files with 398 additions and 79 deletions
+7
View File
@@ -127,6 +127,7 @@ import manifest from '@/manifest.json';
import { mapState } from 'vuex'
import app_upgrade from '@/uni_modules/app-upgrade/js_sdk/index.js'
import { applyLoginData, applyUserInformation } from '@/common/userSession.js'
import { ensureScanConfigAfterLogin } from '@/common/scanAutoConfig.js'
export default {
data() {
return {
@@ -356,6 +357,12 @@ export default {
console.log('information error', infoError);
}
try {
await ensureScanConfigAfterLogin(this.$u.api);
} catch (scanError) {
console.log('自动匹配扫码设置失败', scanError);
}
setTimeout(() => {
uni.reLaunch({
url: '/pages/sys/workbench/index'