Commit 9408d933 authored by zhengke's avatar zhengke

修改

parent e022d204
...@@ -26,7 +26,8 @@ ...@@ -26,7 +26,8 @@
<tr v-if="data.length == 0&&defaultData.length == 0"> <tr v-if="data.length == 0&&defaultData.length == 0">
<td :colspan="9" align="center">暂无数据</td> <td :colspan="9" align="center">暂无数据</td>
</tr> </tr>
<tr v-for="(item,index) in defaultData" v-if="defaultData.length > 0" :key="index"> <template v-if="defaultData.length > 0">
<tr v-for="(item,index) in defaultData" :key="index">
<td> <td>
<span v-if="item.RuleSelectType === 1">并且</span> <span v-if="item.RuleSelectType === 1">并且</span>
<span v-if="item.RuleSelectType === 2">或者</span> <span v-if="item.RuleSelectType === 2">或者</span>
...@@ -65,6 +66,7 @@ ...@@ -65,6 +66,7 @@
<td> <td>
</td> </td>
</tr> </tr>
</template>
<draggable v-model="data" tag="tbody" item-key="Id" @update="datadragEnd" v-if="data.length > 0"> <draggable v-model="data" tag="tbody" item-key="Id" @update="datadragEnd" v-if="data.length > 0">
<template #item="{ element }"> <template #item="{ element }">
<tr> <tr>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment