File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1635,7 +1635,7 @@ export default {
16351635 const fileName = ` ${ time .getTime ()}${ match .ext } ` ;
16361636 const params = {
16371637 fileName,
1638- scriptContent: rst .fileContent ,
1638+ scriptContent: rst .fileContent [ 0 ][ 0 ] ,
16391639 metadata: rst .params ,
16401640 };
16411641 api .fetch (' /filesystem/saveScriptToBML' , params, ' post' )
Original file line number Diff line number Diff line change @@ -441,13 +441,13 @@ export default {
441441 api .fetch (' /filesystem/openFile' , {
442442 path: option .path ,
443443 }, ' get' ).then ((rst ) => {
444- const ismodifyByOldTab = option .code && ! rst .fileContent ;
444+ const ismodifyByOldTab = option .code && ! rst .fileContent [ 0 ][ 0 ] ;
445445 const params = ismodifyByOldTab ? option .params : this .convertSettingParams (rst .params );
446446 this [methodName]({
447447 id: md5Path,
448448 filename: option .filename ,
449449 filepath: option .path ,
450- code: rst .fileContent || option .code ,
450+ code: rst .fileContent [ 0 ][ 0 ] || option .code ,
451451 params,
452452 type: option .type ,
453453 saveAs: option .saveAs || false ,
Original file line number Diff line number Diff line change 7878 v-else-if =" result.type === '5'"
7979 :style =" {'height': resultHeight}"
8080 class =" html-result-div"
81- v-html =" result.bodyRows" />
81+ v-html =" result.bodyRows[0][0] " />
8282 <span
8383 v-else
8484 class =" empty-text" >{{ $t('message.workBench.body.script.result.emptyText') }}</span >
You can’t perform that action at this time.
0 commit comments