@ -82,6 +82,9 @@ export default {
},
tabEdit(e, action) {
if (action === 'remove') {
if (!(event instanceof MouseEvent)) {
return; // 不执行删除逻辑
}
this.activeName = '0'
this.$props.data.list.splice(parseFloat(e), 1);
@ -3,7 +3,7 @@ module.exports = defineConfig({
transpileDependencies: true, runtimeCompiler: true,
devServer: {
host: "0.0.0.0", port: 8899, open: true, https: true, proxy: {
host: "0.0.0.0", port: 8899, open: true, https: false, proxy: {
// detail: https://cli.vuejs.org/config/#devserver-proxy
'/dev-api': {
// target: `http://175.27.215.92:8899/prod-api`,