|
@@ -311,14 +311,19 @@
|
|
|
src="@/assets/images/systemGraph/fontNotWeight.svg"
|
|
|
class="fontStyleSvg"
|
|
|
title="点击加粗"
|
|
|
- v-if="operState == 1&&(selText.style || {}).fontWeight == notFotWeight"
|
|
|
+ v-if="
|
|
|
+ operState == 1 &&
|
|
|
+ (selText.style || {}).fontWeight == notFotWeight
|
|
|
+ "
|
|
|
@click="fontWeightChange(1)"
|
|
|
/>
|
|
|
<img
|
|
|
src="@/assets/images/systemGraph/fontStyle.svg"
|
|
|
class="fontStyleSvg"
|
|
|
title="点击取消加粗"
|
|
|
- v-if="operState == 1&&(selText.style || {}).fontWeight == fontWeight"
|
|
|
+ v-if="
|
|
|
+ operState == 1 && (selText.style || {}).fontWeight == fontWeight
|
|
|
+ "
|
|
|
@click="fontWeightChange(0)"
|
|
|
/>
|
|
|
<span v-if="operState == 0" v-text="selFontSize.name"></span>
|
|
@@ -773,6 +778,7 @@ export default {
|
|
|
//关闭右侧详情框
|
|
|
closeRight: function () {
|
|
|
var _this = this;
|
|
|
+ if (_this.selGraphPartType == -1) return;
|
|
|
this.selGraphPartType = -1;
|
|
|
Vue.nextTick(function () {
|
|
|
_this.$refs.graphc.resetDraw();
|