mirror of https://github.com/openspug/spug
24 lines
770 B
JavaScript
24 lines
770 B
JavaScript
/**
|
|
* Copyright (c) OpenSpug Organization. https://github.com/openspug/spug
|
|
* Copyright (c) <spug.dev@gmail.com>
|
|
* Released under the AGPL-3.0 License.
|
|
*/
|
|
import React from 'react';
|
|
import { Tooltip } from 'antd';
|
|
|
|
const Tips1 = (
|
|
<a
|
|
target="_blank"
|
|
rel="noopener noreferrer"
|
|
href="https://spug.cc/docs/deploy-config/#%E5%85%A8%E5%B1%80%E5%8F%98%E9%87%8F">内置全局变量</a>
|
|
)
|
|
|
|
const Tips2 = (
|
|
<Tooltip title="配置中心应用的配置将会以 _SPUG_标识符_Key 方式组合成环境变量,可通过执行 env | grep SPUG 来查看所有的内置的和配置中心的可使用变量。">
|
|
<span style={{color: '#1890ff'}}>配置中心的配置变量</span>
|
|
</Tooltip>
|
|
)
|
|
|
|
export default (
|
|
<span>可使用 {Tips1} 和 {Tips2}</span>
|
|
) |