|
@@ -824,7 +824,7 @@ import {
|
|
|
autoSaveAS,
|
|
|
} from '@/services/common';
|
|
|
import { useSelection } from '@/services/selections';
|
|
|
-import { defaultFormat } from '@/services/defaults';
|
|
|
+import { defaultFormat, fromArrows, toArrows } from '@/services/defaults';
|
|
|
import { checkData, localStorageName, Meta2dBackData } from '@/services/utils';
|
|
|
import { debounce } from '@/services/debouce';
|
|
|
import { s8 } from '@/services/random';
|
|
@@ -1073,31 +1073,31 @@ const changeLineType = (value: string) => {
|
|
|
};
|
|
|
|
|
|
const fromArrow = ref('');
|
|
|
-const fromArrows = [
|
|
|
- { icon: '#l-line', value: '' },
|
|
|
- { icon: '#l-from-triangle', value: 'triangle' },
|
|
|
- { icon: '#l-from-diamond', value: 'diamond' },
|
|
|
- { icon: '#l-from-circle', value: 'circle' },
|
|
|
- { icon: '#l-from-lineDown', value: 'lineDown' },
|
|
|
- { icon: '#l-from-lineUp', value: 'lineUp' },
|
|
|
- { icon: '#l-from-triangleSolid', value: 'triangleSolid' },
|
|
|
- { icon: '#l-from-diamondSolid', value: 'diamondSolid' },
|
|
|
- { icon: '#l-from-circleSolid', value: 'circleSolid' },
|
|
|
- { icon: '#l-from-line', value: 'line' },
|
|
|
-];
|
|
|
+// const fromArrows = [
|
|
|
+// { icon: '#l-line', value: '' },
|
|
|
+// { icon: '#l-from-triangle', value: 'triangle' },
|
|
|
+// { icon: '#l-from-diamond', value: 'diamond' },
|
|
|
+// { icon: '#l-from-circle', value: 'circle' },
|
|
|
+// { icon: '#l-from-lineDown', value: 'lineDown' },
|
|
|
+// { icon: '#l-from-lineUp', value: 'lineUp' },
|
|
|
+// { icon: '#l-from-triangleSolid', value: 'triangleSolid' },
|
|
|
+// { icon: '#l-from-diamondSolid', value: 'diamondSolid' },
|
|
|
+// { icon: '#l-from-circleSolid', value: 'circleSolid' },
|
|
|
+// { icon: '#l-from-line', value: 'line' },
|
|
|
+// ];
|
|
|
const toArrow = ref('');
|
|
|
-const toArrows = [
|
|
|
- { icon: '#l-line', value: '' },
|
|
|
- { icon: '#l-to-triangle', value: 'triangle' },
|
|
|
- { icon: '#l-to-diamond', value: 'diamond' },
|
|
|
- { icon: '#l-to-circle', value: 'circle' },
|
|
|
- { icon: '#l-to-lineDown', value: 'lineDown' },
|
|
|
- { icon: '#l-to-lineUp', value: 'lineUp' },
|
|
|
- { icon: '#l-to-triangleSolid', value: 'triangleSolid' },
|
|
|
- { icon: '#l-to-diamondSolid', value: 'diamondSolid' },
|
|
|
- { icon: '#l-to-circleSolid', value: 'circleSolid' },
|
|
|
- { icon: '#l-to-line', value: 'line' },
|
|
|
-];
|
|
|
+// const toArrows = [
|
|
|
+// { icon: '#l-line', value: '' },
|
|
|
+// { icon: '#l-to-triangle', value: 'triangle' },
|
|
|
+// { icon: '#l-to-diamond', value: 'diamond' },
|
|
|
+// { icon: '#l-to-circle', value: 'circle' },
|
|
|
+// { icon: '#l-to-lineDown', value: 'lineDown' },
|
|
|
+// { icon: '#l-to-lineUp', value: 'lineUp' },
|
|
|
+// { icon: '#l-to-triangleSolid', value: 'triangleSolid' },
|
|
|
+// { icon: '#l-to-diamondSolid', value: 'diamondSolid' },
|
|
|
+// { icon: '#l-to-circleSolid', value: 'circleSolid' },
|
|
|
+// { icon: '#l-to-line', value: 'line' },
|
|
|
+// ];
|
|
|
|
|
|
const changeFromArrow = (value: string) => {
|
|
|
fromArrow.value = value;
|