From 9985fd128b46f43d02f8ca6313a1862ea6bf26f5 Mon Sep 17 00:00:00 2001 From: yiming <m13691596795@163.com> Date: 星期二, 30 七月 2024 17:34:15 +0800 Subject: [PATCH] 五单元完成 --- src/store/index.js | 15 ++++++++++++--- 1 files changed, 12 insertions(+), 3 deletions(-) diff --git a/src/store/index.js b/src/store/index.js index bdc71f1..224a6ee 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -9,14 +9,23 @@ actions: { }, mutations: { - setTestList(state,value) { - state.testList = value + setQiankun(state,value) { + state.qiankun = value + }, + setZoom(state,value) { + state.qiankun.scale = value } }, state: { + // 鐘舵�佹暟鎹畾涔� num:1, - testList:[] + testList:[], + qiankun: { + scale: 100, + }, + questionData:{}, + rootCmsItemId:'' }, getters: { // 璁$畻娲剧敓鐘舵�� -- Gitblit v1.9.1