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",
|
"@fortawesome/vue-fontawesome": "^0.1.9",
|
||||||
"axios": "^0.21.3",
|
"axios": "^0.21.3",
|
||||||
"core-js": "^3.4.3",
|
"core-js": "^3.4.3",
|
||||||
|
"default-passive-events": "^2.0.0",
|
||||||
"diffable-html": "^4.0.0",
|
"diffable-html": "^4.0.0",
|
||||||
"echarts": "^5.0.2",
|
"echarts": "^5.0.2",
|
||||||
"el-table-infinite-scroll": "^1.0.10",
|
"el-table-infinite-scroll": "^1.0.10",
|
||||||
|
|
|
@ -36,14 +36,14 @@
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
|
||||||
<el-table-column prop="include" width="78" :label="$t('api_test.request.assertions.must_contain')"
|
<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">
|
<template slot-scope="scope">
|
||||||
<el-checkbox v-model="scope.row.include" @change="handleCheckOneChange" :disabled="checked || scope.row.type==='array'"/>
|
<el-checkbox v-model="scope.row.include" @change="handleCheckOneChange" :disabled="checked || scope.row.type==='array'"/>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
|
||||||
<el-table-column prop="typeVerification" width="100" :label="$t('api_test.request.assertions.type_verification')"
|
<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">
|
<template slot-scope="scope">
|
||||||
<el-checkbox v-model="scope.row.typeVerification" @change="handleCheckOneChange" :disabled="checked"/>
|
<el-checkbox v-model="scope.row.typeVerification" @change="handleCheckOneChange" :disabled="checked"/>
|
||||||
</template>
|
</template>
|
||||||
|
@ -75,7 +75,7 @@
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
|
||||||
<el-table-column prop="arrayVerification" width="140" :label="$t('api_test.request.assertions.check')"
|
<el-table-column prop="arrayVerification" width="140" :label="$t('api_test.request.assertions.check')"
|
||||||
:render-header="renderHeaderArray">
|
:scoped-slot="renderHeaderArray">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-checkbox v-model="scope.row.arrayVerification" @change="handleCheckOneChange"
|
<el-checkbox v-model="scope.row.arrayVerification" @change="handleCheckOneChange"
|
||||||
v-if="scope.row.type==='array'" :disabled="checked"/>
|
v-if="scope.row.type==='array'" :disabled="checked"/>
|
||||||
|
|
|
@ -20,12 +20,12 @@ export default {
|
||||||
// },
|
// },
|
||||||
{
|
{
|
||||||
path: "report/list/:testId",
|
path: "report/list/:testId",
|
||||||
name: "ApiReportList",
|
name: "ApiReports",
|
||||||
component: () => import('@/business/components/api/report/ApiReportList'),
|
component: () => import('@/business/components/api/report/ApiReportList'),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: "report/view/:reportId",
|
path: "report/view/:reportId",
|
||||||
name: "ApiReportView",
|
name: "ApiReportViews",
|
||||||
component: () => import('@/business/components/api/report/ApiReportView'),
|
component: () => import('@/business/components/api/report/ApiReportView'),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
@ -29,6 +29,7 @@ import formCreate from "@form-create/element-ui"
|
||||||
import mavonEditor from 'mavon-editor'
|
import mavonEditor from 'mavon-editor'
|
||||||
import 'mavon-editor/dist/css/index.css'
|
import 'mavon-editor/dist/css/index.css'
|
||||||
import 'element-ui/lib/theme-chalk/display.css';
|
import 'element-ui/lib/theme-chalk/display.css';
|
||||||
|
import 'default-passive-events'
|
||||||
Vue.use(mavonEditor)
|
Vue.use(mavonEditor)
|
||||||
|
|
||||||
Vue.use(vueMinderEditor)
|
Vue.use(vueMinderEditor)
|
||||||
|
|
Loading…
Reference in New Issue