课程管理项目中嵌入调用参数类型调整

This commit is contained in:
daihh
2023-03-05 16:53:44 +08:00
parent 9778a7f7ee
commit 4e6057cb52
2 changed files with 3 additions and 2 deletions

View File

@@ -552,10 +552,11 @@ export default {
mounted() {
let extendFlag=this.$route.query.f; //是否是管理端过来的
this.extendRefId=this.$route.query.refId;
this.extendRefType=this.$route.query.refId;
this.extendRefType=this.$route.query.refType;
if(extendFlag && extendFlag=='choose'){
this.visibleShow=true;
}
//console.log("url参数",extendFlag,this.extendRefId,this.extendRefType)
this.curStepIndex = 1; //回到第一步
this.btnLoading = false;
this.getResOwnerTree().then(rs => {

View File

@@ -382,7 +382,7 @@ export default {
mounted() {
let chooseFlag=this.$route.query.f;
this.extendRefId=this.$route.query.refId;
this.extendRefType=this.$route.query.refId;
this.extendRefType=this.$route.query.refType;
if(chooseFlag && chooseFlag=='choose'){
this.forChoose=true;
}