This commit is contained in:
张良(004796)
2024-02-19 17:56:35 +08:00
parent c4f0461a1e
commit d3ef3a037b
2 changed files with 10 additions and 2 deletions

View File

@@ -68,6 +68,14 @@
:inactive-value="false"
></el-switch>
</el-form-item>
<el-form-item label="启用敏感词检测" prop="enableWordCheck" >
<el-switch
v-model="form.enableWordCheck"
inactive-color="#ff4949"
:active-value="true"
:inactive-value="false"
></el-switch>
</el-form-item>
</el-form>
<div slot="footer" class="dialog-footer">
<el-button :loading="buttonLoading" type="primary" @click="submitForm"> </el-button>

View File

@@ -35,8 +35,8 @@ module.exports = {
proxy: {
// detail: https://cli.vuejs.org/config/#devserver-proxy
[process.env.VUE_APP_BASE_API]: {
target: `http://localhost:8080`,
// target: `http://124.222.254.188:9779/prod-api`,
// target: `http://localhost:8080`,
target: `http://124.222.254.188:9779/prod-api`,
changeOrigin: true,
pathRewrite: {
['^' + process.env.VUE_APP_BASE_API]: ''