删除返回主页的错误
This commit is contained in:
parent
eef2fed8a2
commit
b1fd1f43e9
@ -32,8 +32,16 @@ export default {
|
||||
this.centerDialogVisible = false;
|
||||
},
|
||||
async comit() {
|
||||
if (this.input) {
|
||||
try {
|
||||
await getPermissionJoint(`${this.input}`);
|
||||
this.centerDialogVisible = false;
|
||||
} catch (error) {
|
||||
this.$messageBox('扫码错误:' + error.message);
|
||||
}
|
||||
} else {
|
||||
this.$messageBox('请输入房间号');
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@ -2,7 +2,7 @@
|
||||
<el-card v-loading="loading" class="map-list-main">
|
||||
<div slot="header" class="clearfix">
|
||||
<span>地图列表</span>
|
||||
<div v-if="role" class="back-home" @click="backHome">返回首页</div>
|
||||
<!-- <div v-if="role" class="back-home" @click="backHome">返回首页</div> -->
|
||||
</div>
|
||||
<filter-city ref="filerCity" filter-empty :query-function="queryFunction" @filterSelectChange="refresh" @changeFilter="clearMapSelect" />
|
||||
<el-input v-model="filterText" placeholder="输入关键字进行过滤" clearable />
|
||||
@ -80,9 +80,9 @@ export default {
|
||||
this.clearMapSelect();
|
||||
},
|
||||
methods: {
|
||||
backHome() {
|
||||
this.$router.push({ path: `/` });
|
||||
},
|
||||
// backHome() {
|
||||
// this.$router.push({ path: `/` });
|
||||
// },
|
||||
filterNode(value, data) {
|
||||
if (!value) return true;
|
||||
return data.name.indexOf(value) !== -1;
|
||||
|
@ -2,7 +2,7 @@
|
||||
<el-card v-loading="loading" class="map-list-main">
|
||||
<div slot="header" class="clearfix">
|
||||
<span>试题列表</span>
|
||||
<div v-if="role" class="back-home" @click="backHome">返回首页</div>
|
||||
<!-- <div v-if="role" class="back-home" @click="backHome">返回首页</div> -->
|
||||
</div>
|
||||
<filter-city
|
||||
ref="filerCity"
|
||||
@ -97,9 +97,9 @@ export default {
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
backHome() {
|
||||
this.$router.push({ path: `/` });
|
||||
},
|
||||
// backHome() {
|
||||
// this.$router.push({ path: `/` });
|
||||
// },
|
||||
filterNode(value, data) {
|
||||
if (!value) return true;
|
||||
return data.name.indexOf(value) !== -1;
|
||||
|
@ -2,7 +2,7 @@
|
||||
<el-card v-loading="loading" class="map-list-main">
|
||||
<div slot="header" class="clearfix">
|
||||
<span>课程列表</span>
|
||||
<div v-if="role" class="back-home" @click="backHome">返回首页</div>
|
||||
<!-- <div v-if="role" class="back-home" @click="backHome">返回首页</div> -->
|
||||
</div>
|
||||
<filter-city
|
||||
ref="filerCity"
|
||||
@ -108,9 +108,9 @@ export default {
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
backHome() {
|
||||
this.$router.push({ path: `/` });
|
||||
},
|
||||
// backHome() {
|
||||
// this.$router.push({ path: `/` });
|
||||
// },
|
||||
filterNode(value, data) {
|
||||
if (!value) return true;
|
||||
return data.name.indexOf(value) !== -1;
|
||||
|
Loading…
Reference in New Issue
Block a user