1
0
mirror of https://github.com/1Panel-dev/1Panel.git synced 2025-03-13 17:24:44 +08:00

feat: 网站页面增加遮罩

This commit is contained in:
zhengkunwang223 2023-03-08 15:35:01 +08:00 committed by zhengkunwang223
parent d72bb22db7
commit 52ed3e076a
2 changed files with 10 additions and 5 deletions

View File

@ -9,7 +9,7 @@
>
<el-row v-loading="loading">
<el-col :span="22" :offset="1">
<el-form ref="accountForm" label-position="top" :model="account" :rules="rules" v-loading="loading">
<el-form ref="accountForm" label-position="top" :model="account" :rules="rules">
<el-form-item :label="$t('website.email')" prop="email">
<el-input v-model.trim="account.email"></el-input>
</el-form-item>

View File

@ -219,10 +219,15 @@ let req = reactive({
const search = async () => {
req.page = paginationConfig.currentPage;
req.pageSize = paginationConfig.pageSize;
SearchWebsites(req).then((res) => {
data.value = res.data.items;
paginationConfig.total = res.data.total;
});
loading.value = true;
await SearchWebsites(req)
.then((res) => {
data.value = res.data.items;
paginationConfig.total = res.data.total;
})
.finally(() => {
loading.value = false;
});
};
const listGroup = async () => {