feat: 无扫码配置时自动匹配,并修复我的页列表样式
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user