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