feat: 让跳转更加智能,模糊化请求路径
This commit is contained in:
parent
7174522c57
commit
d708ef7d29
@ -32,6 +32,8 @@
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
// var host = 'http://192.168.26.198:10089';
|
||||
var ctx = '/epi-project'
|
||||
var app = new Vue({
|
||||
el: '#app',
|
||||
data: {
|
||||
@ -54,11 +56,13 @@
|
||||
}
|
||||
})
|
||||
}
|
||||
})
|
||||
});
|
||||
// 跳转业务系统
|
||||
location.href = '/'
|
||||
}
|
||||
},
|
||||
created() {
|
||||
fetch('http://192.168.26.198:3001/epi-project/tenants').then(r => r.json()).then(res => {
|
||||
fetch(ctx + '/tenants').then(r => r.json()).then(res => {
|
||||
this.tenantList = res.data;
|
||||
})
|
||||
}
|
||||
|
Reference in New Issue
Block a user