mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2024-09-20 15:45:57 +08:00
feat: 修改未安装应用提示的跳转
This commit is contained in:
parent
58252caa20
commit
405db20980
|
@ -37,7 +37,7 @@
|
|||
<div class="app-warn">
|
||||
<div>
|
||||
<span>{{ $t('app.checkInstalledWarn', [data.app]) }}</span>
|
||||
<span @click="goRouter('/apps')">
|
||||
<span @click="goRouter(key)">
|
||||
<el-icon><Position /></el-icon>
|
||||
{{ $t('database.goInstall') }}
|
||||
</span>
|
||||
|
@ -88,8 +88,8 @@ const setting = () => {
|
|||
em('setting', false);
|
||||
};
|
||||
|
||||
const goRouter = async (path: string) => {
|
||||
router.push({ path: path });
|
||||
const goRouter = async (key: string) => {
|
||||
router.push({ name: 'AppDetail', params: { appKey: key } });
|
||||
};
|
||||
|
||||
const onCheck = async () => {
|
||||
|
|
Loading…
Reference in a new issue