+
@@ -129,8 +130,6 @@ const {
export default defineComponent({
name: 'Login',
setup() {
- const {tm} = useI18n();
-
const route = useRoute();
const router = useRouter();
@@ -150,7 +149,7 @@ export default defineComponent({
const validateUsername = (rule: any, value: any, callback: any) => {
if (!isValidUsername(value)) {
- callback(new Error(tm('Please enter the correct username')));
+ callback(new Error('Please enter the correct username'));
} else {
callback();
}
@@ -158,7 +157,7 @@ export default defineComponent({
const validatePass = (rule: any, value: any, callback: any) => {
if (value.length < 5) {
- callback(new Error(tm('Password length should be no shorter than 5')));
+ callback(new Error('Password length should be no shorter than 5'));
} else {
callback();
}
@@ -167,7 +166,7 @@ export default defineComponent({
const validateConfirmPass = (rule: any, value: any, callback: any) => {
if (!isSignup.value) return callback();
if (value !== loginForm.value.password) {
- callback(new Error(tm('Two passwords must be the same')));
+ callback(new Error('Two passwords must be the same'));
} else {
callback();
}
diff --git a/frontend/src/views/spider/detail/actions/SpiderDetailActionsCommon.vue b/frontend/src/views/spider/detail/actions/SpiderDetailActionsCommon.vue
index 8afcb047..e58acf10 100644
--- a/frontend/src/views/spider/detail/actions/SpiderDetailActionsCommon.vue
+++ b/frontend/src/views/spider/detail/actions/SpiderDetailActionsCommon.vue
@@ -11,7 +11,8 @@
-
+
+
diff --git a/frontend/src/views/spider/detail/actions/SpiderDetailActionsFiles.vue b/frontend/src/views/spider/detail/actions/SpiderDetailActionsFiles.vue
index 8fd6f2af..94d6239b 100644
--- a/frontend/src/views/spider/detail/actions/SpiderDetailActionsFiles.vue
+++ b/frontend/src/views/spider/detail/actions/SpiderDetailActionsFiles.vue
@@ -1,16 +1,33 @@
-
+
-
-
-
+
+
+
+