Restricting el-input to Numeric Values with Decimal Points Only
Element UI provides several validation approaches, yet each prseents limitations. For instance:
Using type='number' allows invalid inputs like 1-1-1.
The el-input-number component permits multiple decimal points.
Regular expressions such as:
<el-input v-model='form.number' @input="(v)=>form.number=v.replace(/[^�-9.]/g,'')&quo ...
Posted on Thu, 23 Jul 2026 17:08:41 +0000 by cshinteractive
Building a Survey Platform with TDuck: Open-Source Form System
Overview
TDuck is a free, production-ready form and survey platform built with SpringBoot, Vue, and ElementUI. It enables rapid creation of questionnaires and business forms through a no-code approach while supporting custom component development.
Key Features
Form Components:
Over a dozen component types including rating scales, cascading sel ...
Posted on Tue, 21 Jul 2026 16:08:26 +0000 by Fife Club
Production Issue Monitoring: Complete Sentry Integration Guide
Background: When sporadic production issues occur, testers often cannot reproduce the error scenario based on API information alone. Production monitoring is critical for improving system reliability. Among the many monitoring tools available, why choose Sentry? Because it offers session replay capabilities, automatic error collection, multi-us ...
Posted on Mon, 20 Jul 2026 17:22:01 +0000 by papa
Optimizing Vue List Rendering: The Role of Keys and the Pitfalls of Using Index
The Virtual DOM Diffing Algorithm and PerformanceThe key attribute primarily serves as a performance optimization mechanism for Vue's virtual DOM. During the reconciliation process, Vue matches existing DOM nodes to virtual nodes based on their keys. If an element's key remains identical and its underlying data has not mutated, Vue skips updati ...
Posted on Wed, 15 Jul 2026 16:31:53 +0000 by jscnet
How to implement v-model for custom components in Vue2 and Vue3
This article demonstrates how to implement v-model functionality in custom components, using input as an example. We'll create a custom component named z-input that can be used with v-model in a parent component like this:
<template>
<z-input v-model="msg" />
</template>
<!-- JS code omitted -->
Both Vue 2 ...
Posted on Sun, 12 Jul 2026 17:21:25 +0000 by chaiwei
Deploy Spring Boot and Vue Applications on Baota Panel with HTTPS
Backend Packaging Notes
Configure proxy bypass in the backend to allow specific domain access. Write two allowed domains: your configured domain and the server IP address. During frontend development, ports are used; in production, omit ports to avoid lock-in.
application.yml Configuration
server:
port: 9999
servlet:
context-path: /api
...
Posted on Thu, 09 Jul 2026 16:46:33 +0000 by rimelta
Building Desktop Applications with Vue and Electron
Setting Up a Vite, Vue 3, and JavaScript Project
Ensure all JSON configuration files do not contain comments, as they may cause runtime issues even if no immediate errors are shown.
1. Creating the Desktop Application
1.1 Project Initialization
Run the following command to create a new project:
npm create vite@latest
When prompted, select the ...
Posted on Mon, 29 Jun 2026 17:13:30 +0000 by ashu.khetan
Why Vue Doesn't Make Array Index Assignment Reactive via Object.defineProperty
Object.defineProperty can indeed observe array elements. For example, you can iterate over an array and define getter/setter for each index:
let array = [1, 2, 3, 4, 5];
array.forEach((item, index) => {
defineReactive(array, index, item);
});
function defineReactive(obj, key, val) {
Object.defineProperty(obj, key, {
enumerab ...
Posted on Sat, 20 Jun 2026 17:46:28 +0000 by klainis
Flight Management System with SpringBoot
This project is a flight entry and exit management system built using Java and SpringBoot framework. The system can be opened and run in both Eclipse and IDE. The recommended environment includes Eclipse/IDE, JDK 1.8, Maven, and MySQL.
Technical Stack
Frontend technologies include Vue.js, Ajax, and JSON for dynamic user interfaces. Backend impl ...
Posted on Sat, 20 Jun 2026 17:07:28 +0000 by gimzo
Building a Vue Admin Dashboard with TypeScript and Element UI
The foundation of this application relies on a centralized layout structure located within the src/layout directory. This pattern organizes the shell of the application separately from the core business logic, allowing for a modular design.
The recommended directory structure for the layout module is as follows:
src/
└── layout/
├── compone ...
Posted on Thu, 18 Jun 2026 18:07:19 +0000 by neofox