feat: 采集和导出固定由排队进程执行
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<script setup lang="ts">
|
||||
import { onMounted, ref } from "vue";
|
||||
import { useRouter } from "vue-router";
|
||||
import { NAlert, NButton, NInput, NInputNumber, NSwitch } from "naive-ui";
|
||||
import { NAlert, NButton, NInput, NInputNumber } from "naive-ui";
|
||||
import { api } from "../../shared/http";
|
||||
import { markInstalled } from "../../shared/installState";
|
||||
import ThemeButton from "../../shell/ThemeButton.vue";
|
||||
@@ -14,7 +14,6 @@ const username = ref("postgres");
|
||||
const password = ref("nixevol@242520");
|
||||
const adminUsername = ref("admin");
|
||||
const adminPassword = ref("nixevol@242520");
|
||||
const separateWorker = ref(true);
|
||||
const errorText = ref("");
|
||||
const busy = ref(false);
|
||||
|
||||
@@ -42,7 +41,6 @@ async function submit() {
|
||||
password: password.value,
|
||||
adminUsername: adminUsername.value,
|
||||
adminPassword: adminPassword.value,
|
||||
separateWorker: separateWorker.value,
|
||||
}),
|
||||
});
|
||||
markInstalled();
|
||||
@@ -79,8 +77,6 @@ async function submit() {
|
||||
<n-input v-model:value="adminUsername" />
|
||||
<label>管理员密码</label>
|
||||
<n-input v-model:value="adminPassword" type="password" />
|
||||
<label>独立排队进程</label>
|
||||
<n-switch v-model:value="separateWorker" />
|
||||
</div>
|
||||
<div style="margin-top: 16px; display: flex; justify-content: flex-end;">
|
||||
<n-button type="primary" :loading="busy" @click="submit">完成安装</n-button>
|
||||
|
||||
Reference in New Issue
Block a user