mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-06-07 17:07:19 +08:00
fix: some bug
This commit is contained in:
parent
23e14c2ea2
commit
db237d2f51
@ -24,32 +24,32 @@
|
|||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import splitpane, {
|
import splitpane, {
|
||||||
ContextProps,
|
ContextProps
|
||||||
} from "/@/components/SplitPane/index.vue";
|
} from "../../../components/splitPane/index.vue";
|
||||||
import { reactive } from "vue";
|
import { reactive } from "vue";
|
||||||
export default {
|
export default {
|
||||||
name: "split",
|
name: "split",
|
||||||
components: {
|
components: {
|
||||||
splitpane,
|
splitpane
|
||||||
},
|
},
|
||||||
setup() {
|
setup() {
|
||||||
const settingLR: ContextProps = reactive({
|
const settingLR: ContextProps = reactive({
|
||||||
minPercent: 20,
|
minPercent: 20,
|
||||||
defaultPercent: 40,
|
defaultPercent: 40,
|
||||||
split: "vertical",
|
split: "vertical"
|
||||||
});
|
});
|
||||||
|
|
||||||
const settingTB: ContextProps = reactive({
|
const settingTB: ContextProps = reactive({
|
||||||
minPercent: 20,
|
minPercent: 20,
|
||||||
defaultPercent: 40,
|
defaultPercent: 40,
|
||||||
split: "horizontal",
|
split: "horizontal"
|
||||||
});
|
});
|
||||||
|
|
||||||
return {
|
return {
|
||||||
settingLR,
|
settingLR,
|
||||||
settingTB,
|
settingTB
|
||||||
};
|
};
|
||||||
},
|
}
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user