fix(接口测试): 部分参数设置页面显示问题修复

This commit is contained in:
junhong 2022-01-28 14:09:05 +08:00 committed by 刘瑞斌
parent 3bdceac421
commit 20714e10b8
2 changed files with 4 additions and 3 deletions

View File

@ -3,6 +3,7 @@
:visible.sync="itemValueVisible" :visible.sync="itemValueVisible"
:append-to-body="appendToBody" :append-to-body="appendToBody"
:fullscreen="dialogVisible" :fullscreen="dialogVisible"
:modal="false"
class="advanced-item-value" class="advanced-item-value"
width="100%"> width="100%">

View File

@ -12,18 +12,18 @@
@select="change"> @select="change">
<i slot="suffix" class="el-input__icon el-icon-edit pointer" @click="advanced(mock)"></i> <i slot="suffix" class="el-input__icon el-icon-edit pointer" @click="advanced(mock)"></i>
</el-autocomplete> </el-autocomplete>
<ms-api-variable-advance :scenario-definition="scenarioDefinition" :current-item="mock" ref="variableAdvance"/>
<ms-advance ref="variableAdvance" :current-item="mock"/>
</div> </div>
</template> </template>
<script> <script>
import {JMETER_FUNC, MOCKJS_FUNC} from "@/common/js/constants"; import {JMETER_FUNC, MOCKJS_FUNC} from "@/common/js/constants";
import MsAdvance from "./Advance"; import MsApiVariableAdvance from "../../../../../api/definition/components/ApiVariableAdvance";
export default { export default {
name: 'MsMock', name: 'MsMock',
components: {MsAdvance}, components: {MsApiVariableAdvance},
props: { props: {
schema: { schema: {
type: Object, type: Object,