修复使用错误的缓存数据导致重置错误
This commit is contained in:
parent
e9f0be2607
commit
086df91486
|
@ -314,8 +314,8 @@ export default defineComponent({
|
||||||
|
|
||||||
const use_server_config = () => {
|
const use_server_config = () => {
|
||||||
for (let index = 0; index < fourpostion.value.length; index++) {
|
for (let index = 0; index < fourpostion.value.length; index++) {
|
||||||
defaultfourpostion.value[index].x = fourpostion.value[index].x;
|
// defaultfourpostion.value[index].x = fourpostion.value[index].x;
|
||||||
defaultfourpostion.value[index].y = fourpostion.value[index].y;
|
// defaultfourpostion.value[index].y = fourpostion.value[index].y;
|
||||||
defaultfour.value[index].x = config.point4[index].def_x;
|
defaultfour.value[index].x = config.point4[index].def_x;
|
||||||
defaultfour.value[index].y = config.point4[index].def_y;
|
defaultfour.value[index].y = config.point4[index].def_y;
|
||||||
four[index].x = config.point4[index].x;
|
four[index].x = config.point4[index].x;
|
||||||
|
|
|
@ -781,8 +781,8 @@ export default defineComponent({
|
||||||
};
|
};
|
||||||
const use_server_config = () => {
|
const use_server_config = () => {
|
||||||
for (let index = 0; index < defaultninepostion.value.length; index++) {
|
for (let index = 0; index < defaultninepostion.value.length; index++) {
|
||||||
defaultninepostion.value[index].x = ninepostion.value[index].x;
|
// defaultninepostion.value[index].x = ninepostion.value[index].x;
|
||||||
defaultninepostion.value[index].y = ninepostion.value[index].y;
|
// defaultninepostion.value[index].y = ninepostion.value[index].y;
|
||||||
defaultnine.value[index].x = nine[index].x;
|
defaultnine.value[index].x = nine[index].x;
|
||||||
defaultnine.value[index].y = nine[index].y;
|
defaultnine.value[index].y = nine[index].y;
|
||||||
nine[index].x = config.point9[index].x;
|
nine[index].x = config.point9[index].x;
|
||||||
|
|
Loading…
Reference in New Issue