mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-02-12 11:30:07 +08:00
fix: 前端优化 (#5754)
This commit is contained in:
parent
e427b2a219
commit
b3759cebd8
@ -188,7 +188,7 @@
|
|||||||
plain
|
plain
|
||||||
round
|
round
|
||||||
size="small"
|
size="small"
|
||||||
:disabled="installed.appStatus === 'Upgrading'"
|
:disabled="installed.status === 'Upgrading'"
|
||||||
@click="openOperate(installed, 'ignore')"
|
@click="openOperate(installed, 'ignore')"
|
||||||
v-if="mode === 'upgrade'"
|
v-if="mode === 'upgrade'"
|
||||||
>
|
>
|
||||||
|
@ -131,7 +131,7 @@ function validateDownloadUrl(rule: any, value: any, callback: any) {
|
|||||||
if (value === '') {
|
if (value === '') {
|
||||||
callback();
|
callback();
|
||||||
}
|
}
|
||||||
const pattern = /^https?/i;
|
const pattern = /^(http:\/\/|https:\/\/)/i;
|
||||||
if (pattern.test(value)) {
|
if (pattern.test(value)) {
|
||||||
return callback(new Error(i18n.global.t('container.urlWarning')));
|
return callback(new Error(i18n.global.t('container.urlWarning')));
|
||||||
}
|
}
|
||||||
|
@ -195,3 +195,9 @@ defineExpose({
|
|||||||
acceptParams,
|
acceptParams,
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
<style scoped lang="scss">
|
||||||
|
.fullScreen {
|
||||||
|
border: none;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
@ -163,7 +163,7 @@ const initData = () => {
|
|||||||
|
|
||||||
function filterDirectories(directories: any[]) {
|
function filterDirectories(directories: any[]) {
|
||||||
return directories.filter((dir) => {
|
return directories.filter((dir) => {
|
||||||
return !dir.startsWith('/node_modules') && !dir.startsWith('/vendor');
|
return dir !== '/node_modules' && dir !== '/vendor';
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user