修改编辑

This commit is contained in:
A1300399510 2023-08-11 14:20:00 +08:00
parent 2d232af76c
commit a1cdc4a41b
2 changed files with 14 additions and 3 deletions

View File

@ -38,8 +38,19 @@ export default {
let tab = ref("person"); // person intermediary more
if (props['intermediary'] == 1) tab.value = "intermediary"
else tab.value = "person"
console.log("props['intermediary']", props['intermediary']);
// if (props['intermediary'] == 1) tab.value = "intermediary"
// else tab.value = "person"
watch(() => props.popState, (newValue, oldValue) => {
// popState
console.log('popState属性发生变化', newValue, oldValue);
if (newValue == 1) tab.value = "intermediary"
else tab.value = "person"
// ...
});
const cutTabArray = reactive({});

View File

@ -941,7 +941,7 @@ export default {
this.token = urlParams.get('token');
this.intermediary = urlParams.get('intermediary') || 3; //
// this.verified = urlParams.get('verified') || 0;
console.log("urlParams.get('intermediary')",urlParams.get('intermediary'));
this.userIntermediary = this.$store.state.user['intermediary']
this.init();