Commit 52d03edf authored by dragondean@qq.com's avatar dragondean@qq.com

操作日志没有旧值不显示

parent adf8c792
......@@ -298,7 +298,12 @@
<template slot-scope="{row}">
<div v-if="row.note">
<div v-for="item in parseLogNote(row.note)">
{{$t('【{name}】从【{orgValue}】修改为【{newValue}', item)}}
<template v-if="item.orgValue">
{{$t('【{name}】从【{orgValue}】修改为【{newValue}', item)}}
</template>
<template v-else>
{{$t('【{name}】设置为【{newValue}', item)}}
</template>
</div>
</div>
</template>
......
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