|
...
|
...
|
@@ -151,7 +151,7 @@ |
|
151
|
151
|
isView: { type: Boolean, default: false },
|
|
152
|
152
|
});
|
|
153
|
153
|
|
|
154
|
|
- const { validateContentError, validateContentLengthError } = useHooks();
|
|
|
154
|
+ const { validateContentError } = useHooks();
|
|
155
|
155
|
|
|
156
|
156
|
const scriptForm = reactive({
|
|
157
|
157
|
name: '',
|
|
...
|
...
|
@@ -262,7 +262,6 @@ |
|
262
|
262
|
}
|
|
263
|
263
|
if (!value) return;
|
|
264
|
264
|
if (scriptForm.params) removeTrim(true, scriptForm.params);
|
|
265
|
|
- if (scriptForm.convertJs.length > 1000) return validateContentLengthError();
|
|
266
|
265
|
return {
|
|
267
|
266
|
...value,
|
|
268
|
267
|
...{ convertJs: props.isNotTest ? scriptForm.convertJs : null },
|
...
|
...
|
|