|
|
@@ -45,7 +45,8 @@ export default {
|
|
|
data(){
|
|
|
return {
|
|
|
dialogVisible:false,
|
|
|
- url:'http://61.164.207.46:8000/yosweb/codeToFile.html',
|
|
|
+ // url:'http://61.164.207.46:8000/yosweb/codeToFile.html',
|
|
|
+ url:'http://192.168.3.146:8000/yosweb/codeToFile.html',
|
|
|
bigUrl:''
|
|
|
}
|
|
|
},
|
|
|
@@ -57,13 +58,13 @@ export default {
|
|
|
console.log(code,'code')
|
|
|
this.dialogVisible = true
|
|
|
this.bigUrl = this.url + '?code=' + code
|
|
|
- // const res = await this.$api.requested({
|
|
|
- // "id": 2025082515112802,
|
|
|
- // "content": {
|
|
|
- // "code": code
|
|
|
- // },
|
|
|
- // })
|
|
|
- // console.log(res.data)
|
|
|
+ const res = await this.$api.requested({
|
|
|
+ "id": 2025082515112802,
|
|
|
+ "content": {
|
|
|
+ "code": code
|
|
|
+ },
|
|
|
+ })
|
|
|
+ console.log(res.data)
|
|
|
// this.bigUrl = this.url + '?data=' + res.data
|
|
|
},
|
|
|
callback(){
|