Bladeren bron

debug: 添加原生 button 对比测试点击事件

同时保留 el-button @click 用于对比诊断
iwt 2 maanden geleden
bovenliggende
commit
a7fd4addc1
1 gewijzigde bestanden met toevoegingen van 2 en 1 verwijderingen
  1. 2 1
      cfc-web/src/views/Dashboard.vue

+ 2 - 1
cfc-web/src/views/Dashboard.vue

@@ -189,7 +189,8 @@
       <div class="health-label">系统版本</div>
       <div class="health-value">
         {{ version }}
-        <el-button type="text" style="font-size:12px;margin-left:6px;padding:0" @click="showChangelog">查看变更日志</el-button>
+        <button type="button" onclick="alert('原生按钮点击')" style="font-size:12px;border:none;background:none;color:#409EFF;cursor:pointer;text-decoration:none;padding:0;margin-left:6px">原生测试</button>
+        <el-button type="text" style="font-size:12px;margin-left:6px;padding:0" @click="changelogVisible = true">查看变更日志</el-button>
       </div>
     </div>
   </div>