widget.qw 0.0.2 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/style.css +101 -0
- package/build/widget.qw.es.js +612 -206
- package/build/widget.qw.umd.js +612 -206
- package/package.json +1 -1
- package/src/api/index.js +16 -0
- package/src/components/CascaderPicker.vue +107 -0
- package/src/components/CascaderPop.vue +313 -0
- package/src/components/index.js +10 -0
- package/src/router/index.ts +10 -0
- package/src/util/tree_util.js +34 -0
- package/src/views/cascaderpicker/index.vue +86 -0
- package/src/views/cascaderpop/index.vue +91 -0
- package/src/views/home/index.vue +2 -0
- package/vite.config.ts +2 -2
package/src/views/home/index.vue
CHANGED
|
@@ -32,6 +32,8 @@
|
|
|
32
32
|
<van-button class="btn" type="primary" @click="router.push('/switch')">开关</van-button>
|
|
33
33
|
<van-button class="btn" type="primary" @click="router.push('/sheet')">表格</van-button>
|
|
34
34
|
<van-button class="btn" type="primary" @click="router.push('/treepicker')">树选择器</van-button>
|
|
35
|
+
<van-button class="btn" type="primary" @click="router.push('/cascaderpop')">级联弹出层</van-button>
|
|
36
|
+
<van-button class="btn" type="primary" @click="router.push('/cascaderpicker')">级联选择器</van-button>
|
|
35
37
|
</div>
|
|
36
38
|
</template>
|
|
37
39
|
|
package/vite.config.ts
CHANGED
|
@@ -40,8 +40,8 @@ export default {
|
|
|
40
40
|
VUE_APP_NEED_LOGIN_CODE: 401,
|
|
41
41
|
//注意:发布时 VUE_APP_IS_DEBUG必须配置为false
|
|
42
42
|
// 本地开发时 VUE_APP_IS_DEBUG必须配置为true
|
|
43
|
-
VUE_APP_IS_DEBUG: false,
|
|
44
|
-
|
|
43
|
+
// VUE_APP_IS_DEBUG: false,
|
|
44
|
+
VUE_APP_IS_DEBUG: true,
|
|
45
45
|
VUE_APP_DEBUG_TOKEN: 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJsb2dpblR5cGUiOiJsb2dpbiIsImxvZ2luSWQiOiIwMTQzOTEiLCJyblN0ciI6ImZ0ejhnaFpLMWR4ejhnOTFDZkJUMXQxVWNJajF3R3c1In0.tgI4iGOJ8OrjoqWIqC2pjH7J52l6H7wyuUwJATKIVns'
|
|
46
46
|
},
|
|
47
47
|
},
|