提交 d1e47337 编写于 作者: aaronchen2k2k's avatar aaronchen2k2k

Merge remote-tracking branch 'origin/morden-ui' into morden-ui

<template>
<div class="tab-page-exec-unit">
<Form labelCol="6" wrapperCol="26">
<Form>
<FormItem labelWidth="100px" name="cmd" :label="t('test_cmd')" :info="validateInfos.cmd">
<input type="text" v-model="modelRef.cmd" @keydown="keydown"/>
</FormItem>
......
......@@ -6,7 +6,7 @@
:title="info == undefined ? t('create_interpreter') : t('edit_interpreter')"
:contentStyle="{width: '500px'}"
>
<Form class="form-interpreter" labelCol="6" wrapperCol="16">
<Form class="form-interpreter">
<FormItem
labelWidth="100px"
name="lang"
......
......@@ -6,7 +6,7 @@
:title="t('submit_result_to_zentao')"
:contentStyle="{width: '500px'}"
>
<Form labelCol="6" wrapperCol="16">
<Form>
<FormItem name="title" :label="t('title')" :info="validateInfos.title">
<input type="text" v-model="modelRef.title" />
</FormItem>
......
......@@ -6,7 +6,7 @@
:title="t('create')"
:contentStyle="{width: '400px'}"
>
<Form labelCol="6" wrapperCol="16">
<Form>
<FormItem name="name" :label="t('name')" :info="validateInfos.name">
<input type="text" v-model="modelRef.name" />
</FormItem>
......
......@@ -6,7 +6,7 @@
:title="t('sync-from-zentao')"
:contentStyle="{ width: '600px' }"
>
<Form labelCol="6" wrapperCol="16">
<Form>
<FormItem labelWidth="140px" :label="t('module')">
<select v-model="modelRef.moduleId">
<option key="" value="">&nbsp;</option>
......
......@@ -155,10 +155,10 @@ export async function syncToZentao(sets: any[]): Promise<any> {
export const getNodeMap = (node, mp): void => {
if (!node) return
mp[node.path] = node
if (node.children) {
node.children.forEach(c => {
const newNode = {...node}
mp[newNode.path] = newNode
if (newNode.children) {
newNode.children.forEach(c => {
getNodeMap(c, mp)
})
}
......
......@@ -6,7 +6,7 @@
:title="props.id > 0 ? t('edit_site') : t('create_site')"
:contentStyle="{width: '600px'}"
>
<Form labelCol="6" wrapperCol="16">
<Form>
<FormItem name="name" :label="t('name')" :info="validateInfos.name">
<input type="text" v-model="modelRef.name" />
</FormItem>
......
......@@ -6,7 +6,7 @@
:title="t('create_workspace')"
:contentStyle="{width: '600px'}"
>
<Form labelCol="6" wrapperCol="16">
<Form>
<FormItem name="name" :label="t('name')" :info="validateInfos.name">
<input type="text" v-model="modelRef.name" />
</FormItem>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册