Browse Source

feat: 创建网站过滤用过的APP

pull/161/head
zhengkunwang223 2 years ago committed by zhengkunwang223
parent
commit
23babbd773
  1. 1
      frontend/src/api/interface/app.ts
  2. 2
      frontend/src/views/website/website/create/index.vue

1
frontend/src/api/interface/app.ts

@ -117,6 +117,7 @@ export namespace App {
export interface AppInstalledSearch {
type: string;
unused?: boolean;
}
export interface AppService {

2
frontend/src/views/website/website/create/index.vue

@ -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…
Cancel
Save