forked from github/dataease
refactor: 扫描问题优化
This commit is contained in:
parent
4036018676
commit
524e9abd79
@ -49,7 +49,7 @@ export default [
|
||||
|
||||
// get user info
|
||||
{
|
||||
url: '/dataease/user/info\.*',
|
||||
url: '/dataease/user/info*',
|
||||
type: 'get',
|
||||
response: config => {
|
||||
const { token } = config.query
|
||||
|
@ -58,6 +58,7 @@
|
||||
|
||||
<script>
|
||||
import {KeyValue, Scenario} from "./ApiTestModel";
|
||||
import { uuid } from 'vue-uuid'
|
||||
|
||||
import Vue from 'vue';
|
||||
|
||||
@ -159,7 +160,7 @@ export default {
|
||||
this.parameters.push(new KeyValue({
|
||||
type: 'text',
|
||||
enable: true,
|
||||
uuid: this.uuid(),
|
||||
uuid: uuid.v1(),
|
||||
contentType: 'text/plain'
|
||||
}));
|
||||
}
|
||||
@ -183,9 +184,6 @@ export default {
|
||||
return (func.name.toLowerCase().indexOf(queryString.toLowerCase()) > -1);
|
||||
};
|
||||
},
|
||||
uuid: function () {
|
||||
return (((1 + Math.random()) * 0x100000) | 0).toString(16).substring(1);
|
||||
},
|
||||
advanced(item) {
|
||||
if (item.type === 'json') {
|
||||
this.$refs.variableJson.open(item);
|
||||
|
Loading…
Reference in New Issue
Block a user