|
|
@@ -61,7 +61,7 @@
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
-import {clickSendApi} from '../apis/code'
|
|
|
+// import {clickSendApi} from '../apis/code'
|
|
|
export default {
|
|
|
components: {},
|
|
|
data() {
|
|
|
@@ -102,12 +102,14 @@ export default {
|
|
|
async btnOk() {
|
|
|
try {
|
|
|
await this.$refs.form.validate();
|
|
|
- let res =await clickSendApi(this.form)
|
|
|
- // console.log(998,res);
|
|
|
- if(res.code===0) {
|
|
|
this.$message.success('操作成功')
|
|
|
this.btnX()
|
|
|
- }
|
|
|
+ // let res =await clickSendApi(this.form)
|
|
|
+ // // console.log(998,res);
|
|
|
+ // if(res.code===0) {
|
|
|
+ // this.$message.success('操作成功')
|
|
|
+ // this.btnX()
|
|
|
+ // }
|
|
|
} catch (error) {
|
|
|
console.log(error);
|
|
|
}
|