Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
csbr-daop
/
fe-data-trusted-space
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
0a94f223
authored
2025-06-16 11:34:20 +0800
by
lxs
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
通过config.json配置appKey
1 parent
f6a44fcb
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
7 deletions
index.html
public/config.js
vite.config.ts
index.html
View file @
0a94f22
...
...
@@ -12,7 +12,6 @@
<meta
http-equiv=
"Cache"
content=
"no-cache"
>
<meta
name=
"Keywords"
content=
"数据资产服务平台-服务于央国企、上市公司、拟上市公司的数据要素登记流通服务"
>
<meta
name=
"description"
content=
"数据资产服务平台,服务于央国企、上市公司、拟上市公司的数据要素登记流通服务。数据资产服务平台提供最专业、权威的数据要素资产登记服务、入表服务、交易流通服务、金融服务和治理及挖掘服务,旨在激活央国企、上市公司、拟上市公司的数据流通体系,释放数据要素新质生产力。"
>
<script
src=
"/config.js"
></script>
<title>
%VITE_APP_TITLE%
</title>
</head>
<body
class=
"over-hidden"
>
...
...
public/config.js
deleted
100644 → 0
View file @
f6a44fc
var
system
=
{
appConfig
:
{
appKey
:
"672c2c38e4b0cac8732a6106"
,
}
}
vite.config.ts
View file @
0a94f22
...
...
@@ -62,7 +62,6 @@ export default ({ mode, command }) => {
build
:
{
outDir
:
mode
===
'product'
?
'dist'
:
`dist-
${
mode
}
`
,
sourcemap
:
env
.
VITE_BUILD_SOURCEMAP
===
'true'
,
assetsInlineLimit
:
0
,
// 确保config.js不会被内联
copyPublicDir
:
true
,
// 确保 public 目录下的文件被复制到输出目录的根目录
},
define
:
{
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment