|
@@ -89,15 +89,15 @@ export default {
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
open(row){
|
|
open(row){
|
|
|
- // this.form = _.cloneDeep(row)
|
|
|
|
|
- // this.jsonData = JSON.parse(this.form.formJson.makingJson);
|
|
|
|
|
- // this.jsonData.config.dataSource &&
|
|
|
|
|
- // this.jsonData.config.dataSource.forEach((item) => {
|
|
|
|
|
- // item.headers = {
|
|
|
|
|
- // Authorization: getToken()
|
|
|
|
|
- // };
|
|
|
|
|
- // // item.url = item.url && item.url.replace('/api', this.APIUrl);
|
|
|
|
|
- // });
|
|
|
|
|
|
|
+ this.form = _.cloneDeep(row)
|
|
|
|
|
+ this.jsonData = JSON.parse(this.form.formJson.makingJson);
|
|
|
|
|
+ this.jsonData.config.dataSource &&
|
|
|
|
|
+ this.jsonData.config.dataSource.forEach((item) => {
|
|
|
|
|
+ item.headers = {
|
|
|
|
|
+ Authorization: getToken()
|
|
|
|
|
+ };
|
|
|
|
|
+ // item.url = item.url && item.url.replace('/api', this.APIUrl);
|
|
|
|
|
+ });
|
|
|
},
|
|
},
|
|
|
cancel() {
|
|
cancel() {
|
|
|
this.$emit('update:formParserDialogFlag', false);
|
|
this.$emit('update:formParserDialogFlag', false);
|