mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-10-24 14:38:23 +08:00
feat: 创建网站过滤用过的APP
This commit is contained in:
parent
bb4799e611
commit
23babbd773
2 changed files with 2 additions and 1 deletions
|
|
@ -117,6 +117,7 @@ export namespace App {
|
||||||
|
|
||||||
export interface AppInstalledSearch {
|
export interface AppInstalledSearch {
|
||||||
type: string;
|
type: string;
|
||||||
|
unused?: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface AppService {
|
export interface AppService {
|
||||||
|
|
|
||||||
|
|
@ -258,7 +258,7 @@ const handleClose = () => {
|
||||||
};
|
};
|
||||||
|
|
||||||
const searchAppInstalled = () => {
|
const searchAppInstalled = () => {
|
||||||
GetAppInstalled({ type: 'website' }).then((res) => {
|
GetAppInstalled({ type: 'website', unused: true }).then((res) => {
|
||||||
appInstalles.value = res.data;
|
appInstalles.value = res.data;
|
||||||
if (res.data.length > 0) {
|
if (res.data.length > 0) {
|
||||||
website.value.appInstallId = res.data[0].id;
|
website.value.appInstallId = res.data[0].id;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue