refactor(通用功能): 优化部分页面初始化控制台有警告信息输出
--bug=1010620 --user=赵勇 前端控制台警告信息处理 https://www.tapd.cn/55049933/s/1114884
This commit is contained in:
parent
20d1108676
commit
dcf182f2c7
|
@ -19,6 +19,7 @@
|
|||
"@fortawesome/vue-fontawesome": "^0.1.9",
|
||||
"axios": "^0.21.3",
|
||||
"core-js": "^3.4.3",
|
||||
"default-passive-events": "^2.0.0",
|
||||
"diffable-html": "^4.0.0",
|
||||
"echarts": "^5.0.2",
|
||||
"el-table-infinite-scroll": "^1.0.10",
|
||||
|
|
|
@ -36,14 +36,14 @@
|
|||
</el-table-column>
|
||||
|
||||
<el-table-column prop="include" width="78" :label="$t('api_test.request.assertions.must_contain')"
|
||||
:render-header="renderHeader">
|
||||
:scoped-slot="renderHeader">
|
||||
<template slot-scope="scope">
|
||||
<el-checkbox v-model="scope.row.include" @change="handleCheckOneChange" :disabled="checked || scope.row.type==='array'"/>
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
||||
<el-table-column prop="typeVerification" width="100" :label="$t('api_test.request.assertions.type_verification')"
|
||||
:render-header="renderHeaderType">
|
||||
:scoped-slot="renderHeaderType">
|
||||
<template slot-scope="scope">
|
||||
<el-checkbox v-model="scope.row.typeVerification" @change="handleCheckOneChange" :disabled="checked"/>
|
||||
</template>
|
||||
|
@ -75,7 +75,7 @@
|
|||
</el-table-column>
|
||||
|
||||
<el-table-column prop="arrayVerification" width="140" :label="$t('api_test.request.assertions.check')"
|
||||
:render-header="renderHeaderArray">
|
||||
:scoped-slot="renderHeaderArray">
|
||||
<template slot-scope="scope">
|
||||
<el-checkbox v-model="scope.row.arrayVerification" @change="handleCheckOneChange"
|
||||
v-if="scope.row.type==='array'" :disabled="checked"/>
|
||||
|
|
|
@ -20,12 +20,12 @@ export default {
|
|||
// },
|
||||
{
|
||||
path: "report/list/:testId",
|
||||
name: "ApiReportList",
|
||||
name: "ApiReports",
|
||||
component: () => import('@/business/components/api/report/ApiReportList'),
|
||||
},
|
||||
{
|
||||
path: "report/view/:reportId",
|
||||
name: "ApiReportView",
|
||||
name: "ApiReportViews",
|
||||
component: () => import('@/business/components/api/report/ApiReportView'),
|
||||
},
|
||||
{
|
||||
|
|
|
@ -29,6 +29,7 @@ import formCreate from "@form-create/element-ui"
|
|||
import mavonEditor from 'mavon-editor'
|
||||
import 'mavon-editor/dist/css/index.css'
|
||||
import 'element-ui/lib/theme-chalk/display.css';
|
||||
import 'default-passive-events'
|
||||
Vue.use(mavonEditor)
|
||||
|
||||
Vue.use(vueMinderEditor)
|
||||
|
|
Loading…
Reference in New Issue