|
@@ -32,9 +32,9 @@ const emit = defineEmits(['update:modelValue', 'change']);
|
|
|
|
|
|
const valueData = ref('');
|
|
const valueData = ref('');
|
|
const getSignResultImg = () => {
|
|
const getSignResultImg = () => {
|
|
- // getAttachmentListByKey(key.value).then((res) => {
|
|
|
|
- //先用体验版的测试扫码链接,只能写死传'1',后期小程序发正式版本再增加支持活的参数
|
|
|
|
- getAttachmentListByKey('1').then((res) => {
|
|
|
|
|
|
+ getAttachmentListByKey(key.value).then((res) => {
|
|
|
|
+ //先用体验版的测试扫码链接,只能写死传'1',后期小程序发正式版本再增加支持活的参数
|
|
|
|
+ // getAttachmentListByKey('1').then((res) => {
|
|
if (Array.isArray(res)) {
|
|
if (Array.isArray(res)) {
|
|
if (res && res[0]?.url) {
|
|
if (res && res[0]?.url) {
|
|
valueData.value = res[0].url;
|
|
valueData.value = res[0].url;
|
|
@@ -81,7 +81,7 @@ const visibleChange = (visible) => {
|
|
};
|
|
};
|
|
const createQrcodeValue = computed(() => {
|
|
const createQrcodeValue = computed(() => {
|
|
//先用体验版的测试扫码链接,只能写死,后期小程序发正式版本再增加支持活的参数
|
|
//先用体验版的测试扫码链接,只能写死,后期小程序发正式版本再增加支持活的参数
|
|
- return 'https://sopwxapp.qmth.com.cn/sign/?key=1';
|
|
|
|
|
|
+ return 'https://sopwxapp.qmth.com.cn/sign/?key=' + this.key;
|
|
});
|
|
});
|
|
</script>
|
|
</script>
|
|
|
|
|