xy 7 лет назад
Родитель
Сommit
cad6d18ac7
3 измененных файлов с 3 добавлено и 1 удалено
  1. 1 1
      src/app/common/deploy/tencent/TencentConfig.js
  2. 1 0
      src/language/en_US.js
  3. 1 0
      src/language/zh_CN.js

+ 1 - 1
src/app/common/deploy/tencent/TencentConfig.js

@@ -100,7 +100,7 @@ class TencentConfig extends Component {
                 <div style={{padding: '30px'}}>
                 <div style={{padding: '30px'}}>
                     <Row gutter={16}>
                     <Row gutter={16}>
                         <Col span={14}>
                         <Col span={14}>
-                            <FormattedMessage id="Deploy">{msg => <Card title={msg} style={{marginBottom: 10}}><DeployCard deploy={this.state.currentDeploy} switchRegion={this.switchRegion} region={this.state.region} defalutName={this.props.defalutName} userID={this.props.userID} cloudID={this.props.cloudID} pass={this.pass} kind={this.props.kind} trialcase={this.props.trialcase}/></Card>}</FormattedMessage>
+                            <FormattedMessage id="fc Deploy">{msg => <Card title={msg} style={{marginBottom: 10}}><DeployCard deploy={this.state.currentDeploy} switchRegion={this.switchRegion} region={this.state.region} defalutName={this.props.defalutName} userID={this.props.userID} cloudID={this.props.cloudID} pass={this.pass} kind={this.props.kind} trialcase={this.props.trialcase}/></Card>}</FormattedMessage>
                             <FormattedMessage id="API Group">{msg => <Card title={msg} style={{marginBottom: 10}}><APIGroupCard group={this.state.currentGroup} switchRegion={this.switchRegion} region={this.state.region} userID={this.props.userID} cloudID={this.props.cloudID} pass={this.pass} kind={this.props.kind} trialcase={this.props.trialcase}/></Card>}</FormattedMessage>
                             <FormattedMessage id="API Group">{msg => <Card title={msg} style={{marginBottom: 10}}><APIGroupCard group={this.state.currentGroup} switchRegion={this.switchRegion} region={this.state.region} userID={this.props.userID} cloudID={this.props.cloudID} pass={this.pass} kind={this.props.kind} trialcase={this.props.trialcase}/></Card>}</FormattedMessage>
                             <FormattedMessage id="API Path">{msg => <Card title={msg} style={{marginBottom: 10}}><APIPathCard path={this.state.currentPath} defalutName={this.props.defalutName} userID={this.props.userID} deployID={this.state.currentDeploy? this.state.currentDeploy.id : this.state.deployIdPassToPath} groupID={this.state.currentGroup? this.state.currentGroup.id : this.state.groupIdPassToPath} trialcase={this.props.trialcase}/></Card>}</FormattedMessage>
                             <FormattedMessage id="API Path">{msg => <Card title={msg} style={{marginBottom: 10}}><APIPathCard path={this.state.currentPath} defalutName={this.props.defalutName} userID={this.props.userID} deployID={this.state.currentDeploy? this.state.currentDeploy.id : this.state.deployIdPassToPath} groupID={this.state.currentGroup? this.state.currentGroup.id : this.state.groupIdPassToPath} trialcase={this.props.trialcase}/></Card>}</FormattedMessage>
                             <FormattedMessage id="Notification">{msg => <Card title={msg}><NotificationCard userID={this.props.userID} trialcase={this.props.trialcase}/></Card>}</FormattedMessage>
                             <FormattedMessage id="Notification">{msg => <Card title={msg}><NotificationCard userID={this.props.userID} trialcase={this.props.trialcase}/></Card>}</FormattedMessage>

+ 1 - 0
src/language/en_US.js

@@ -65,6 +65,7 @@ const en_US = {
     "please input table name": "please input table name",
     "please input table name": "please input table name",
     "field name": 'field name',
     "field name": 'field name',
     "Confirm": 'Confirm',
     "Confirm": 'Confirm',
+    "fc Deploy": "Deploy",
     "API Group": 'API Group',
     "API Group": 'API Group',
     "API Path": 'API Path',
     "API Path": 'API Path',
     "Notification": 'Notification',
     "Notification": 'Notification',

+ 1 - 0
src/language/zh_CN.js

@@ -66,6 +66,7 @@ const zh_CN = {
     "please input table name": "请输入表名",
     "please input table name": "请输入表名",
     "field name": '字段名',
     "field name": '字段名',
     "Confirm": '确认修改',
     "Confirm": '确认修改',
+    "fc Deploy": "云函数配置",
     "API Group": 'API组 配置',
     "API Group": 'API组 配置',
     "API Path": 'API路径 配置',
     "API Path": 'API路径 配置',
     "Notification": '通知配置',
     "Notification": '通知配置',