mirror of https://github.com/1Panel-dev/1Panel
feat: 创建网站过滤用过的APP
parent
bb4799e611
commit
23babbd773
|
@ -117,6 +117,7 @@ export namespace App {
|
|||
|
||||
export interface AppInstalledSearch {
|
||||
type: string;
|
||||
unused?: boolean;
|
||||
}
|
||||
|
||||
export interface AppService {
|
||||
|
|
|
@ -258,7 +258,7 @@ const handleClose = () => {
|
|||
};
|
||||
|
||||
const searchAppInstalled = () => {
|
||||
GetAppInstalled({ type: 'website' }).then((res) => {
|
||||
GetAppInstalled({ type: 'website', unused: true }).then((res) => {
|
||||
appInstalles.value = res.data;
|
||||
if (res.data.length > 0) {
|
||||
website.value.appInstallId = res.data[0].id;
|
||||
|
|
Loading…
Reference in New Issue