@@ -94,7 +94,7 @@ export function getEnclosureApi(token,attachType,dataId) {
})
}
//删除附件信息
-export function deleteEnclosureApi(ids) {
+export function deleteEnclosureApi(token,ids) {
return request({
url: `/common/attach/${ids}`,
token: token,
@@ -192,7 +192,7 @@ export default {
dangerouslyUseHTMLString: true,
type: 'success'
}).then(() => {
- this.$router.push({name: 'registerFirst', params: {token: err.token}});
+ this.$router.push({name: 'registerFirst', query: {token: err.token}});
}).catch(() => {});
this.loading = false;