@xuda.io/xuda-widget-plugin-xuda-drive 1.0.29 → 1.0.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/runtime.mjs +4 -1
package/package.json
CHANGED
package/runtime.mjs
CHANGED
|
@@ -333,7 +333,10 @@ export async function upload(fields, e) {
|
|
|
333
333
|
let file_tags = [];
|
|
334
334
|
if (fields.auto_tag_generator) {
|
|
335
335
|
let identifier = fields.auto_tag_identifier || " ";
|
|
336
|
-
|
|
336
|
+
|
|
337
|
+
const filename = path.parse(file.name).name;
|
|
338
|
+
|
|
339
|
+
file_tags = filename.split(identifier);
|
|
337
340
|
if (fields.auto_tag_translation) {
|
|
338
341
|
for (let tag of file_tags) {
|
|
339
342
|
if (fields.auto_tag_translation[tag]) {
|