-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
87 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<script setup> | ||
import { ref, watch } from "vue"; | ||
import { usePanel } from "@/hooks/usePanel"; | ||
let { current } = usePanel(); | ||
const init = current.value.styles?.border || null; | ||
let val = ref(init); | ||
watch( | ||
() => val.value, | ||
() => { | ||
current.value["styles"]["border"] = val; | ||
} | ||
); | ||
</script> | ||
<template> | ||
<el-input v-model="val" placeholder="1px solid red"></el-input> | ||
</template> | ||
<style scoped></style> |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,13 @@ | ||
import Input from './input/index.vue'; | ||
import Echarts from './echarts/index.vue'; | ||
import InputNumber from './inputNumber/index.vue'; | ||
import ColorPicker from './colorPicker/index.vue'; | ||
import Input from "./input/index.vue"; | ||
import Echarts from "./echarts/index.vue"; | ||
import InputNumber from "./inputNumber/index.vue"; | ||
import ColorPicker from "./colorPicker/index.vue"; | ||
import Border from "./border/index.vue"; | ||
|
||
|
||
export default{ | ||
export default { | ||
Input, | ||
Echarts, | ||
InputNumber, | ||
ColorPicker | ||
} | ||
ColorPicker, | ||
Border, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters