|
@@ -216,7 +216,8 @@ export default {
|
|
|
this.form.directoryId = this.parentId;
|
|
this.form.directoryId = this.parentId;
|
|
|
const options = await listCode();
|
|
const options = await listCode();
|
|
|
if (options.length > 0) {
|
|
if (options.length > 0) {
|
|
|
- this.form.code=await getCode(options[0].id)
|
|
|
|
|
|
|
+ this.success(await getCode(options[0].id))
|
|
|
|
|
+ // this.form.code=await getCode(options[0].id)
|
|
|
}
|
|
}
|
|
|
} else {
|
|
} else {
|
|
|
this.form = await fileGetByIdAPI(row.id);
|
|
this.form = await fileGetByIdAPI(row.id);
|