dpzvc3-ui 3.0.5 → 3.0.7
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/dist/dpzvc3.esm.js +128 -123
- package/dist/dpzvc3.esm.js.map +1 -1
- package/dist/dpzvc3.esm.min.js +1 -1
- package/dist/dpzvc3.esm.min.js.map +1 -1
- package/dist/dpzvc3.js +7941 -7935
- package/dist/dpzvc3.js.map +1 -1
- package/dist/dpzvc3.min.js +1 -1
- package/dist/dpzvc3.min.js.map +1 -1
- package/dist-prod/index.html +1 -1
- package/dist-prod/main.717f5c8b51911571fb82.js +2 -0
- package/dist-prod/main.717f5c8b51911571fb82.js.map +1 -0
- package/package.json +1 -1
- package/src/components/action-sheet/actionSheet.vue +5 -1
- package/src/components/header/header.vue +7 -7
- package/dist-prod/main.ca76d714164efdce0339.js +0 -2
- package/dist-prod/main.ca76d714164efdce0339.js.map +0 -1
package/package.json
CHANGED
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
v-if="cancleText"
|
|
21
21
|
href="javascript:;"
|
|
22
22
|
:class="cancleClass"
|
|
23
|
-
@click="
|
|
23
|
+
@click="cancleClick"
|
|
24
24
|
>{{ cancleText }}</a>
|
|
25
25
|
</div>
|
|
26
26
|
</Popup>
|
|
@@ -80,6 +80,9 @@ export default defineComponent({
|
|
|
80
80
|
emit('update:modelValue', false)
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
+
const cancleClick = () => {
|
|
84
|
+
emit('update:modelValue', false)
|
|
85
|
+
}
|
|
83
86
|
return {
|
|
84
87
|
visible,
|
|
85
88
|
actions,
|
|
@@ -87,6 +90,7 @@ export default defineComponent({
|
|
|
87
90
|
wrapperClasses,
|
|
88
91
|
wrapperActionClass,
|
|
89
92
|
cancleClass,
|
|
93
|
+
cancleClick,
|
|
90
94
|
emit: emitAction
|
|
91
95
|
}
|
|
92
96
|
}
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
|
|
35
35
|
<script>
|
|
36
36
|
import { defineComponent, ref, computed, onMounted, watch } from 'vue'
|
|
37
|
-
import { useRouter } from 'vue-router'
|
|
37
|
+
// import { useRouter } from 'vue-router'
|
|
38
38
|
|
|
39
39
|
const prefixCls = 'dpzvc3-header'
|
|
40
40
|
|
|
@@ -63,7 +63,7 @@ export default defineComponent({
|
|
|
63
63
|
emits: ['update:modelValue'],
|
|
64
64
|
|
|
65
65
|
setup (props, { emit }) {
|
|
66
|
-
const router = useRouter()
|
|
66
|
+
// const router = useRouter()
|
|
67
67
|
|
|
68
68
|
const visible = ref(props.modelValue)
|
|
69
69
|
const isWechat = ref(props.wechat)
|
|
@@ -114,11 +114,11 @@ export default defineComponent({
|
|
|
114
114
|
|
|
115
115
|
/** 返回 */
|
|
116
116
|
const back = () => {
|
|
117
|
-
if (router) {
|
|
118
|
-
|
|
119
|
-
} else {
|
|
120
|
-
|
|
121
|
-
}
|
|
117
|
+
// if (router) {
|
|
118
|
+
// router.back()
|
|
119
|
+
// } else {
|
|
120
|
+
window.history.back()
|
|
121
|
+
// }
|
|
122
122
|
}
|
|
123
123
|
|
|
124
124
|
return {
|