NEZ-1586 fix:Chart templates内锁定解锁按钮点击没有效果

This commit is contained in:
zhangyu
2022-02-22 14:11:47 +08:00
parent 365ec2e644
commit e54c0ea67f

View File

@@ -86,7 +86,7 @@
</top-tool-more-options>
</div>
<div v-else-if="from === fromRoute.chartTemp">
<button id="panel-lock" :title='panelLock ? $t("overall.unlocked") : $t("overall.locked")' class="top-tool-btn margin-r-10" @click="panelLock=!panelLock" type="button">
<button id="panel-lock" :title='panelLock ? $t("overall.unlocked") : $t("overall.locked")' class="top-tool-btn margin-r-10" @click="panelLockChange(!panelLock)" type="button">
<i :class="{'nz-icon nz-icon-lock':!panelLock,'nz-icon nz-icon-unlock':panelLock}"></i>
</button>
<button @click="chartBySync" id="chart-sync" :title="$t('overall.syncChart')" class="top-tool-btn margin-r-10"