Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Yuan Zhixiang
c-render-vue
Commits
0ce197fb
Commit
0ce197fb
authored
Apr 18, 2024
by
Yuan Zhixiang
Browse files
更改外置url的位置
parent
4f36af68
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/App.vue
View file @
0ce197fb
<
script
setup
>
<
script
setup
>
import
{
computed
,
provide
,
ref
}
from
'
vue
'
;
import
{
computed
,
provide
,
ref
}
from
'
vue
'
;
import
axios
from
'
axios
'
import
axios
from
'
axios
'
import
{
base_url
}
from
'
@/main
'
import
{
base_url
}
from
'
@/url.js
'
import
{
oj_base_url
}
from
'
@/url.js
'
import
CodeEditor
from
'
./components/CodeEditor.vue
'
;
import
CodeEditor
from
'
./components/CodeEditor.vue
'
;
import
StdinEditor
from
'
./components/StdinEditor.vue
'
;
import
StdinEditor
from
'
./components/StdinEditor.vue
'
;
import
ControlPanel
from
'
./components/ControlPanel.vue
'
;
import
ControlPanel
from
'
./components/ControlPanel.vue
'
;
...
...
src/main.js
View file @
0ce197fb
import
{
createApp
}
from
'
vue
'
import
{
createApp
}
from
'
vue
'
import
App
from
'
./App.vue
'
import
App
from
'
./App.vue
'
createApp
(
App
).
mount
(
'
#app
'
)
createApp
(
App
).
mount
(
'
#app
'
)
\ No newline at end of file
export
const
base_url
=
'
http://122.207.108.6:10500
'
/* 修改此项为后端地址 */
\ No newline at end of file
src/url.js
0 → 100644
View file @
0ce197fb
export
const
base_url
=
'
http://122.207.108.6:10500
'
/* 修改此项为后端地址 */
export
const
oj_base_url
=
'
http://122.207.108.2/judge/api/solution/querySolution
'
/* 修改此项为OJ API地址 */
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment