This commit is contained in:
yovinchen 2024-05-09 14:31:45 +08:00
parent 9e3aa3acd3
commit 4d793e1537
11 changed files with 49 additions and 7 deletions

View File

@ -3,4 +3,4 @@ ENV = 'development'
# base api # base api
# VUE_APP_BASE_API = '/dev-api' # VUE_APP_BASE_API = '/dev-api'
VUE_APP_BASE_API = 'http://152.136.42.114:8200' VUE_APP_BASE_API = 'http://39.105.207.27:8200'

View File

@ -3,5 +3,5 @@ ENV = 'production'
# base api # base api
#VUE_APP_BASE_API = '/prod-api' #VUE_APP_BASE_API = '/prod-api'
VUE_APP_BASE_API = 'http://152.136.42.114:8200' VUE_APP_BASE_API = 'http://39.105.207.27:8200'

10
.idea/UniappTool.xml Normal file
View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="cn.fjdmy.uniapp.UniappProjectDataService">
<option name="generalBasePath" value="$PROJECT_DIR$" />
<option name="manifestPath" value="$PROJECT_DIR$/manifest.json" />
<option name="pagesPath" value="$PROJECT_DIR$/pages.json" />
<option name="scanNum" value="1" />
<option name="type" value="store" />
</component>
</project>

View File

@ -0,0 +1,6 @@
<component name="InspectionProjectProfileManager">
<profile version="1.0">
<option name="myName" value="Project Default" />
<inspection_tool class="Eslint" enabled="true" level="WARNING" enabled_by_default="true" />
</profile>
</component>

8
.idea/modules.xml Normal file
View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/xlcs-admin.iml" filepath="$PROJECT_DIR$/.idea/xlcs-admin.iml" />
</modules>
</component>
</project>

6
.idea/vcs.xml Normal file
View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$" vcs="Git" />
</component>
</project>

12
.idea/xlcs-admin.iml Normal file
View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="WEB_MODULE" version="4">
<component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$">
<excludeFolder url="file://$MODULE_DIR$/.tmp" />
<excludeFolder url="file://$MODULE_DIR$/temp" />
<excludeFolder url="file://$MODULE_DIR$/tmp" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

View File

@ -24,9 +24,9 @@ if (process.env.npm_config_preview || rawArgv.includes('--preview')) {
) )
app.listen(port, function () { app.listen(port, function () {
console.log(chalk.green(`> Preview at http://152.136.42.114:${port}${publicPath}`)) console.log(chalk.green(`> Preview at http://39.105.207.27:${port}${publicPath}`))
if (report) { if (report) {
console.log(chalk.green(`> Report at http://152.136.42.114:${port}${publicPath}report.html`)) console.log(chalk.green(`> Report at http://39.105.207.27:${port}${publicPath}report.html`))
} }
}) })

View File

@ -20,5 +20,5 @@ module.exports = {
'lcov', 'lcov',
'text-summary' 'text-summary'
], ],
testURL: 'http://152.136.42.114/' testURL: 'http://39.105.207.27/'
} }

View File

@ -1,7 +1,7 @@
server { server {
listen 80; listen 80;
listen [::]:80; listen [::]:80;
server_name 152.136.42.114; server_name 39.105.207.27;
access_log /var/log/nginx/host.access.log main; access_log /var/log/nginx/host.access.log main;

View File

@ -163,7 +163,7 @@ export default {
data() { data() {
return { return {
// API // API
BASE_API: 'http://152.136.42.114:8200', BASE_API: 'http://39.105.207.27:8200',
skuInfo: defaultForm, skuInfo: defaultForm,
saveBtnDisabled: false, saveBtnDisabled: false,