Commit edd979e9 by wangzhihui

判断

1 parent c0010acd
...@@ -56,18 +56,20 @@ ...@@ -56,18 +56,20 @@
placement="right-start" placement="right-start"
trigger="click" trigger="click"
> >
<p <template v-if="scope.scope.areaOperations">
v-for="(item, index) in scope.scope.areaOperations.split(',')" <p
:key="index" v-for="(item, index) in scope.scope.areaOperations.split(',')"
> :key="index"
{{ item }} >
</p> {{ item }}
<span </p>
class="trick-no" <span
slot="reference" class="trick-no"
v-show="scope.scope.areaOperations.split(',').length > 3" slot="reference"
>+{{ scope.scope.areaOperations.split(",").length - 3 }}</span v-show="scope.scope.areaOperations.split(',').length > 3"
> >+{{ scope.scope.areaOperations.split(",").length - 3 }}</span
>
</template>
</el-popover> </el-popover>
</template> </template>
<template slot="fileUrl" slot-scope="scope"> <template slot="fileUrl" slot-scope="scope">
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!