瀏覽代碼

双击标题只复制中文

Karsa 2 年之前
父節點
當前提交
ffff54c118
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/views/chartShow/index.vue

+ 1 - 1
src/views/chartShow/index.vue

@@ -897,7 +897,7 @@ export default defineComponent({
     const copyText = () => {
       const { chartInfo } = state;
       let input = document.createElement("input");
-      input.value = language.value == 'ch'?chartInfo.ChartName:chartInfo.ChartNameEn;
+      input.value = chartInfo.ChartName;
       document.body.appendChild(input)
       input.select();
       document.execCommand('copy');