
Security News
US Government Forces Anthropic to Pull Claude Fable Days After Launch
Anthropic says the directive cited national security concerns over a narrow jailbreak, but offered no specific technical details.
pit-cascader
Advanced tools
| props | 用途 | 默认值 | | options | 所有的区域 | [] | | props | 配置选项 | { value: "value", label: "label", children: "children" } | 继承所有el-input的attr 使用示例: ``` <script setup> import { Cascader } from "./index.js"; import { ref, reactive } from "vue"; let value = re
| props | 用途 | 默认值 | | options | 所有的区域 | [] | | props | 配置选项 | { value: "value", label: "label", children: "children" } | 继承所有el-input的attr 使用示例:
<script setup>
import { Cascader } from "./index.js";
import { ref, reactive } from "vue";
let value = ref("111-222-111");
const options = reactive([
{
text: "111",
value: "111",
children: [
{
text: "111-111",
value: "111-111",
children: [
{ text: "111-111-111", value: "111-111-111" },
{ text: "111-111-222", value: "111-111-222" },
],
},
{
text: "111-222",
value: "111-222",
children: [
{ text: "111-222-111", value: "111-222-111" },
{ text: "111-222-222", value: "111-222-222" },
],
},
],
},
{
text: "222",
value: "222",
children: [
{
text: "222-111",
value: "222-111",
children: [
{
text: "222-111-111",
value: "222-111-111",
children: [
{ text: "222-111-111-111", value: "222-111-111-111" },
{ text: "222-111-222-222", value: "222-111-222-222" },
],
},
{ text: "222-111-222", value: "222-111-222" },
],
},
{
text: "222-222",
value: "222-222",
children: [
{ text: "222-222-111", value: "222-222-111" },
{ text: "222-222-222", value: "222-222-222" },
],
},
],
},
]);
const clickItem = () => {
console.log("value", value.value);
};
</script>
<template>
<div style="width: 200px">
<Cascader
v-model="value"
:options="options"
:props="{ value: 'value', label: 'text', children: 'children' }"
/>
<el-button @click="clickItem">点我获取value</el-button>
</div>
</template>
<style scoped lang="css">
.selected {
color: #409eff;
font-weight: 900;
}
</style>
FAQs
| props | 用途 | 默认值 | | options | 所有的区域 | [] | | props | 配置选项 | { value: "value", label: "label", children: "children" } | 继承所有el-input的attr 使用示例: ``` <script setup> import { Cascader } from "./index.js"; import { ref, reactive } from "vue"; let value = re
We found that pit-cascader demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Anthropic says the directive cited national security concerns over a narrow jailbreak, but offered no specific technical details.

Security News
A network of 152 Chrome live wallpaper extensions hid ad tracking and made extension-driven traffic look like Google search clicks.

Company News
Socket’s first CISO brings deep experience securing high-growth SaaS companies as open source supply chain threats accelerate.