【Nuxt】在 Nuxt3 中使用 pinia 并做持久化处理

前端:Nuxt3 + Vuetify3 + Element Plus + 添加常用插件 前端:Nuxt3 + Vuetify3 + Element Plus + 添加常用插件(sass + autprefixer + tailwindcss + pinia + pinis-plugin-persiste + nuxt-icons + perttier + eslint + 国际化) 阅读详情
AI摘要

本文介绍了如何在Nuxt3环境中使用Pinia库进行状态管理,并演示了如何安装、配置以及实现数据持久化,包括添加pinia-plugin-persistedstate插件和在store中处理存储逻辑。,

官方文档

一、安装

pnpm add @pinia/nuxt

二、基础使用

1、配置

添加到 nuxt.config.js 中的 modules

// Nuxt 3
export default defineNuxtConfig({
    modules: ['@pinia/nuxt'],
})

2、使用

在 composables 文件夹下创建一个 store.ts 文件,这样使用的时候就不需要再导入了。
在这里插入图片描述

interface State {
  activeProductName: string
}
export const useNuxtStore = defineStore('nuxtStore', {
  state: (): State => ({
    activeProductName: '',
  }),
  actions: {
    setActiveProductName(name: string) {
      this.activeProductName = name
    },
  },
})

const store = useNuxtStore()

三、持久化配置

1、安装插件

pnpm add pinia-plugin-persistedstate

2、添加 plugins

在 plugins 文件夹中添加插件 plugins/pinia.ts

import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'
export default defineNuxtPlugin((nuxtApp: any) => {
  nuxtApp.$pinia.use(piniaPluginPersistedstate)
})

3、修改 store

interface State {
  activeProductName: string
}
export const useNuxtStore = defineStore('nuxtStore', {
  state: (): State => ({
    activeProductName: '',
  }),
  actions: {
    setActiveProductName(name: string) {
      this.activeProductName = name
    },
  },
  // 注意:persist定义要做判断,因为localStorage/sessionStorage是客户端参数,所以需要加process.client
  persist: process.client && {
    storage: sessionStorage,
  },
})

四、更多功能请参考

nuxt3+pinia环境下实现数据持久化
nuxt3官网搭建,适配pc和移动端支持一键切换中英文,使用pinia和持久化插件

nuxt3 配置 到此, 写在 base.scss 的样式就生效了, 但是我们经常会使用scss 定义变量, 上面的引入方式就不能使用了。1、项目根目录下创建 pages/index.vue 和 pages/about.vue 页面。2、在项目的根目录项创建 assets/css/base.scss, assets目录是固定写法。pages 目录下面先创建 user.vue 组件,充当 user 父组件, 里面必须有。组件,为 user 默认子路由,还可以继续创建其他的组件,都是渲染在。user 目录下面创建的。 阅读详情

相关推荐

Nuxt3+Vue3(Composition API)+TS+Vite+Ant Design Vue 搭建

最近官网搭建选择了nuxtjs,由于框架更新了,其中语法也有很多变化,中间遇到了一些问题点做下总结。

woyebuzhidao321的博客 4218

前端框架 Nuxt3 集成 Pinia

前端框架 Nuxt3 集成 Pinia Pinia的使用

qq_50909707的博客 7103

Nuxt中Pinia状态持久化:彻底解决“sessionStorage is not defined”的SSR难题

在Nuxt.js项目中使用pinia-plugin-persistedstate配置sessionStorage时,常见的"sessionStorage is not defined"错误是由于服务端渲染(SSR)时Node.js环境缺少浏览器API导致的。解决方案主要有三种:1)在Store定义中使用process.client判断客户端环境,仅在该环境下启用持久化配置;2)使用专为Nuxt设计的@pinia-plugin-persistedstate/nuxt模块;3)通过.clie

JackieDYH的博客 233

nuxt3 / vue3:使用pinia

piniaPinia 是 Vue 的存储库,它允许您跨组件/页面共享状态。如果您熟悉 Composition API,您可能会认为您已经可以通过一个简单的 export const state = reactive({}). 这对于单页应用程序来说是正确的,但如果它是服务器端呈现的,会使您的应用程序暴露于安全漏洞。但即使在小型单页应用程序中,您也可以从使用 Pinia 中获得很多好处:dev-tools 支持跟踪动作、突变的时间线Store 出现在使用它们的组件中。

snow的博客 3167

差分逻辑电平——LVDS、CML、LVPECL、HCSL互连

首先了解差分逻辑电平结构,也包括单端逻辑电平常见的逻辑电平_常用的逻辑电平-CSDN博客注:ECL >> PECL >> LVPECL演变而来;QDR(Quad Data Rate):四倍数据倍率本文章只涉及差分逻辑电平:LVDS 、LVPECL、CML (高速)(最常用)在任何给定的系统设计中,必须设计驱动器侧和接收器侧之间的时钟逻辑转换。通过在它们之间增加衰减电阻和偏置电路来将一个差分时钟转换为其他类型的差分逻辑,来衰减摆幅电平并重新偏置共模输入接收器。

weixin_45365488的博客 4万+

保姆级教程:用NVIDIA Jetson AGX Xavier和GMSL2相机搭建8路车载视觉原型系统

本文提供了一份详细的教程,指导如何使用NVIDIA Jetson AGX Xavier开发板和GMSL2相机搭建8路车载视觉原型系统。内容涵盖硬件选型、系统架构设计、软件环境配置、多路视频采集实现以及性能优化与问题排查,帮助开发者快速掌握GMSL2技术在车载视觉系统中的应用。

weixin_42525005的博客 303

Nuxt3 + Pinia 数据持久化完整解决方案

摘要:Nuxt3中使用Pinia状态管理时,页面刷新会导致状态丢失。本文提供三种解决方案:1)使用VueUse的Storage Hook配合skipHydrate跳过hydration;2)通过Pinia持久化插件自动保存至session/localStorage;3)自定义Pinia插件实现特殊需求。方案对比显示:VueUse适合精细控制单个字段,插件适合完整Store持久化,自定义插件则满足特殊场景。最佳实践包括按需持久化、避免存储敏感数据、处理序列化和错误捕获。代码示例展示了不同方案在项目中的实际应用

油墨香^-^的博客 5169

分析方法—temporal receptive field(TRF)

总结来说,时间感受野其实就是一个 filter!课程中的描述—.(使用时间感受野与刺激进行卷积来描述)时间感受野一般是听觉计算中使用的,在视觉中,有另一种分析叫做空间感受野(spatial receptive fields)。回归权重(Regression weights)是指在回归分析中用于估计自变量与因变量之间关系的权重或系数。回归分析是一种统计方法,用于建立自变量与因变量之间的关联模型,并通过拟合数据来估计模型中的参数。在简单线性回归中,只有一个自变量与一个因变量之间的关系被建模。

m0_51474171的博客 1612

Vue3+Nuxt4项目配置和使用Pinia

使用Nuxt模块 @pinia/nuxt。

2301_76664769的博客 542

初探Proxmox Datacenter Manager:统一管理多集群与单节点的利器

本文介绍了Proxmox Datacenter Manager (PDM) 这一统一管理工具,它能有效解决多套Proxmox VE环境(包括集群和单节点)管理碎片化的痛点。文章详细阐述了PDM的核心功能、安装部署步骤,并通过实战演示了如何添加单节点与整个集群,实现资源的集中监控与基础运维,为运维人员提供了高效的集中管理解决方案。

weixin_29217235的博客 168

FPGA图像处理入门 ZYNQ7020 图像中值膨胀腐蚀滤波

图像处理的三种滤波 中值滤波应用较为广泛 综合膨胀和腐蚀可以实现边缘检测。

Coast_的博客 730

Nuxt3之pinia持久化配置

Nuxt3之pinia持久化配置

qq_43869364的博客 1850

Win10管理员权限的‘暗门’:从mmc.exe被阻止,聊聊UAC与自动提权那些事儿

本文深入解析Windows 10中UAC(用户账户控制)与自动提权机制,探讨mmc.exe被阻止的深层原因及解决方案。从UAC工作原理到自动提权机制,再到具体诊断与修复步骤,帮助用户理解并解决权限管理问题,同时平衡安全性与便利性。

weixin_30521161的博客 426

Nuxt3中使用pinia并实现持久化—pinia-plugin-persistedstate/nuxt

本文介绍了在Nuxt3中使用Pinia实现状态持久化的方法。首先需要安装pinia-plugin-persistedstate插件,然后在Nuxt插件中配置Pinia持久化功能。通过在nuxt.config.ts中添加模块配置和构建转译设置,确保插件正常工作。创建Pinia Store时可选择cookie或localStorage等不同存储方式,并提供了自定义配置选项。最后演示了在Vue组件中使用持久化Store的方法,确保页面刷新后状态能够保留。该方法简单易行,为Nuxt3项目提供了可靠的状态管理解决方案

qq_46032105的博客 2006

终端里藏了个AI大神!DeepSeek‑TUI让你的命令行直接起飞

DeepSeek-TUI:终端AI编程神器 DeepSeek-TUI是一款专为开发者设计的终端AI编程工具,基于DeepSeek V4模型,提供100万Token超大上下文支持,适合处理复杂项目。其核心优势包括: 轻量高效:单二进制文件,无需依赖环境,支持SSH远程操作 智能交互:实时流式输出推理过程,支持三档模式(Plan/Agent/YOLO)灵活切换 强大功能:集成文件读写、Git管理、Shell执行等工具,支持一键回滚和持久会话 节省成本:智能压缩与缓存优化,显著降低Token消耗 适用于服务器开发

979

3. LangGraph快速入门

本示例中,我们将使用 Claude Sonnet 4.5 模型,并定义加法、乘法、除法工具。# 定义工具@toolArgs:"""@toolArgs:"""@toolArgs:"""# 为大模型绑定工具图的状态用于存储消息和大模型调用次数。LangGraph 中的状态在整个智能体执行过程中保持持久化。使用带的Annotated类型可以确保新消息追加到现有列表,而不是替换列表。模型节点用于调用大模型,并决定是否调用工具。return {],

Long_像风一样自由 844

一文搞懂Nuxt3基本用法

Nuxt.js实战记录,反复打磨,以臻精品

曲折旅程,艰难人生 1万+

大中型超市收银系统(可直接运行)

光步前台收银系统系统功能:商品销售、商品退货、挂单、收银员权限、会员销售、单品取消、整单取消、商品查询、脱机销售、脱机数据上传,基本资料下载,开钱箱、小票打印、收款结算,支持多币种付款方式(现金、储值卡、礼券、微信等),支持多种促销。运行环境:.net 4.0登陆信息用户名:1001 密码:123456内置商品信息,商品编码可输入00001000 - 00010000,测试效果相关功能键F5 结算 F9挂单 F11商品查询 F8退货 Insert单品取消 Del整单取消 F12开钱箱F2 会员 Ctrl+Z退出系统 Home 锁屏 相关源码待公开

Nuxt 3 中使用 Pinia 配置持久化存储(兼容 SSR)

在 Nuxt 3 应用中,状态管理是构建复杂应用的关键。Pinia 作为 Vue 官方推荐的状态管理库,配合持久化插件可以很好地保存用户状态。但在服务端渲染(SSR)环境下,直接使用浏览器 API 如会导致错误。本文将详细介绍如何在 Nuxt 3 中安全地配置 Pinia 持久化存储。在 Nuxt 3 中配置 Pinia 持久化存储需要特别注意 SSR 兼容性问题。通过本文介绍的方法,你可以安全地在服务端和客户端环境中使用状态持久化功能。根据你的具体需求选择合适的存储策略,并遵循最佳实践来确保应用稳定运行。

m0_49726578的博客 1441

C# WinForm 基于DirectShow.dll编写的程序,可边预览边保存视频,音频和图片

基于微软的DirectShow.dll的二次开发1.自动识别连接的摄像头跟麦克风且可以对其进行选择(默认选中第一个)2.可录制wmv和avi两种格式的视频并且都带有音频,avi可以录制的分辨率和帧数进行选择,wmv默认进行了淸晰度优化如不喜欢可去除代码中有相关提示3.可在预览点开之后进行拍照,也可边录制视频边拍照4.添加了视频和音频的压缩功能(酌情使用)这次二次开发发现C#对DirectShow的相关信息太少,这次做完也不敢藏私共享出来,还望大家指正

jdk-8u144-linux-x64.tar.gz.

该资源为搭建Linux系统Java环境用,资源的后缀为tar.gz格式的压缩包

nuxt3官网搭建,适配pc和移动端支持一键切换中英文,使用pinia和持久化插件

nuxt3官网搭建,适配pc和移动端中英文切换,pinia持久化

weixin_49781735的博客 4801

深度学习工具包 DeepLearningToolbox

深度学习工具包Deprecation notice.-----This toolbox is outdated and no longer maintained.There are much better tools available for deep learning than this toolbox, e.g. [Theano](http://deeplearning.net/software/theano/), [torch](http://torch.ch/) or [tensorflow](http://www.tensorflow.org/)I would suggest you use one of the tools mentioned above rather than use this toolbox.Best, Rasmus.DeepLearnToolbox================A Matlab toolbox for Deep Learning.Deep Learning is a new subfield of machine learning that focuses on learning deep hierarchical models of data.It is inspired by the human brain&#39;s apparent deep (layered, hierarchical) architecture.A good overview of the theory of Deep Learning theory is[Learning Deep Architectures for AI](http://www.iro.umontreal.ca/~bengioy/papers/ftml_book.pdf)For a more informal introduction, see the following videos by Geoffrey Hinton and Andrew Ng.* [The Next Generation of Neural Networks](http://www.youtube.com/watch?v=AyzOUbkUf3M) (Hinton, 2007)* [Recent Developments in Deep Learning](http://www.youtube.com/watch?v=VdIURAu1-aU) (Hinton, 2010)* [Unsupervised Feature Learning and Deep Learning](http://www.youtube.com/watch?v=ZmNOAtZIgIk) (Ng, 2011)If you use this toolbox in your research please cite [Prediction as a candidate for learning deep hierarchical models of data](http://www2.imm.dtu.dk/pubdb/views/publication_details.php?id=6284)```@MASTERSTHESIS\{IMM2012-06284, author = "R. B. Palm", title = "Prediction as a candidate for learning deep hierarchical models of data", year = "2012",}```Contact: rasmusbergpalm at gmail dot comDirectories included in the toolbox-----------------------------------`NN/` - A library for Feedforward Backpropagation Neural Networks`CNN/` - A library for Convolutional Neural Networks`DBN/` - A library for Deep Belief Networks`SAE/` - A library for Stacked Auto-Encoders`CAE/` - A library for Convolutional Auto-Encoders`util/` - Utility functions used by the libraries`data/` - Data used by the examples`tests/` - unit tests to verify toolbox is workingFor references on each library check REFS.mdSetup-----1. Download.2. addpath(genpath(&#39;DeepLearnToolbox&#39;));Example: Deep Belief Network---------------------```matlabfunction test_example_DBNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit RBM and visualize its weightsrand(&#39;state&#39;,0)dbn.sizes = [100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);figure; visualize(dbn.rbm{1}.W&#39;); % Visualize the RBM weights%% ex2 train a 100-100 hidden unit DBN and use its weights to initialize a NNrand(&#39;state&#39;,0)%train dbndbn.sizes = [100 100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);%unfold dbn to nnnn = dbnunfoldtonn(dbn, 10);nn.activation_function = &#39;sigm&#39;;%train nnopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.10, &#39;Too big error&#39;);```Example: Stacked Auto-Encoders---------------------```matlabfunction test_example_SAEload mnist_uint8;train_x = double(train_x)/255;test_x = double(test_x)/255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit SDAE and use it to initialize a FFNN% Setup and train a stacked denoising autoencoder (SDAE)rand(&#39;state&#39;,0)sae = saesetup([784 100]);sae.ae{1}.activation_function = &#39;sigm&#39;;sae.ae{1}.learningRate = 1;sae.ae{1}.inputZeroMaskedFraction = 0.5;opts.numepochs = 1;opts.batchsize = 100;sae = saetrain(sae, train_x, opts);visualize(sae.ae{1}.W{1}(:,2:end)&#39;)% Use the SDAE to initialize a FFNNnn = nnsetup([784 100 10]);nn.activation_function = &#39;sigm&#39;;nn.learningRate = 1;nn.W{1} = sae.ae{1}.W{1};% Train the FFNNopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.16, &#39;Too big error&#39;);```Example: Convolutional Neural Nets---------------------```matlabfunction test_example_CNNload mnist_uint8;train_x = double(reshape(train_x&#39;,28,28,60000))/255;test_x = double(reshape(test_x&#39;,28,28,10000))/255;train_y = double(train_y&#39;);test_y = double(test_y&#39;);%% ex1 Train a 6c-2s-12c-2s Convolutional neural network %will run 1 epoch in about 200 second and get around 11% error. %With 100 epochs you&#39;ll get around 1.2% errorrand(&#39;state&#39;,0)cnn.layers = { struct(&#39;type&#39;, &#39;i&#39;) %input layer struct(&#39;type&#39;, &#39;c&#39;, &#39;outputmaps&#39;, 6, &#39;kernelsize&#39;, 5) %convolution layer struct(&#39;type&#39;, &#39;s&#39;, &#39;scale&#39;, 2) %sub sampling layer struct(&#39;type&#39;, &#39;c&#39;, &#39;outputmaps&#39;, 12, &#39;kernelsize&#39;, 5) %convolution layer struct(&#39;type&#39;, &#39;s&#39;, &#39;scale&#39;, 2) %subsampling layer};cnn = cnnsetup(cnn, train_x, train_y);opts.alpha = 1;opts.batchsize = 50;opts.numepochs = 1;cnn = cnntrain(cnn, train_x, train_y, opts);[er, bad] = cnntest(cnn, test_x, test_y);%plot mean squared errorfigure; plot(cnn.rL);assert(er<0.12, &#39;Too big error&#39;);```Example: Neural Networks---------------------```matlabfunction test_example_NNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);% normalize[train_x, mu, sigma] = zscore(train_x);test_x = normalize(test_x, mu, sigma);%% ex1 vanilla neural netrand(&#39;state&#39;,0)nn = nnsetup([784 100 10]);opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samples[nn, L] = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.08, &#39;Too big error&#39;);%% ex2 neural net with L2 weight decayrand(&#39;state&#39;,0)nn = nnsetup([784 100 10]);nn.weightPenaltyL2 = 1e-4; % L2 weight decayopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, &#39;Too big error&#39;);%% ex3 neural net with dropoutrand(&#39;state&#39;,0)nn = nnsetup([784 100 10]);nn.dropoutFraction = 0.5; % Dropout fraction opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, &#39;Too big error&#39;);%% ex4 neural net with sigmoid activation functionrand(&#39;state&#39;,0)nn = nnsetup([784 100 10]);nn.activation_function = &#39;sigm&#39;; % Sigmoid activation functionnn.learningRate = 1; % Sigm require a lower learning rateopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, &#39;Too big error&#39;);%% ex5 plotting functionalityrand(&#39;state&#39;,0)nn = nnsetup([784 20 10]);opts.numepochs = 5; % Number of full sweeps through datann.output = &#39;softmax&#39;; % use softmax outputopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, &#39;Too big error&#39;);%% ex6 neural net with sigmoid activation and plotting of validation and training error% split training data into training and validation datavx = train_x(1:10000,:);tx = train_x(10001:end,:);vy = train_y(1:10000,:);ty = train_y(10001:end,:);rand(&#39;state&#39;,0)nn = nnsetup([784 20 10]); nn.output = &#39;softmax&#39;; % use softmax outputopts.numepochs = 5; % Number of full sweeps through dataopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, tx, ty, opts, vx, vy); % nntrain takes validation set as last two arguments (optionally)[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, &#39;Too big error&#39;);```[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/rasmusbergpalm/deeplearntoolbox/trend.png)](https://bitdeli.com/free "Bitdeli Badge")

nuxt3中引入pinia+数据持久化储存(pinia-plugin-persistedstate)

1、按装pinia 2 、安装pinia-plugin-persistedstate 3、nuxt工程代码中注册插件(/plugis/pinia.ts文件中) 4、定义一个store(/store/counter.ts文件中) 注意:persist定义要做判断,因为localStorage是客户端参数,所以需要加process.client5、在页面只中使用pinia的store 6、测试数据持久化初始状态times :5点击按钮, times变化后,刷新页面,times依然恢复到最后

weixin_38838199的博客 4516

nuxt3 localStorage问题(持久化存储token)

第一次使用nuxt3移植之前的项目时遇到了问题,在登录功能时需要使用token,在CLI中可以使用localStorage来解决,但是如果在nuxt3中使用,会直接报错500,localStorage not definded,在尝试了许多方法都无效后,最终解决,分享自己的解决方法。前端新手,希望多多包涵。

m0_61846967的博客 4558

pinia以及做持久化(页面刷新数据不丢失,pc端,uniapp,使用nuxt框架三种)

很久没写文章了,提笔写下这篇也是因为做uniapp使用pinia做持久化踩了一下午坑......

qq_52850749的博客 1788

nuxt3 与pinia之间的问题

是因为 配置文件中没有 vue3 的依赖 需要安装vue3 在 package.json。 问题一:在nuxt3 中安装pinia时候如果只配置 pinia会报 "peer vue@"^3.2.37" from @nuxt/vite-builder@3.0.0-rc.8" 问题二:Cannot find module 'xxxx\node_modules\pinia\dist\pinia.mjs'...

Florenza的博客 3727

Nuxt3项目创建(Nuxt3 + Vite +Ts + Pinia + Element-plus + Tailwindcss + NuxtIcon + Vueuse)

nuxt3项目基本搭建,新手推荐

wangwei_1995的博客 4024

Nuxt状态管理权威指南-从useState到Pinia

掌握好状态管理,是构建高质量 Nuxt 应用的基石。希望这篇指南能帮助你在未来的项目中,自信地驾驭数据流,写出更优雅、更健壮的代码!

m0_46259935的博客 1294

Vue核心知识: pinia持久化插件具体怎么使用?

user: null}),actions: {},logout() {},persist: {key: 'my-custom-key', // 自定义存储的键名},});user: null}),actions: {},logout() {},persist: {serialize: stringify, // 自定义序列化函数deserialize: parse // 自定义反序列化函数},});

百锦再的博客 1万+
上一篇: 【Element】element-plus中el-dialog弹窗隐藏遮罩并可以控制弹窗后的元素、点击、滚动、其他事件操作等
下一篇: 【Vue】Vue3 中实现图片的帧动画方案分享
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值
⌂ 换网址