12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- const APIClient = require('../../utils/APIClient.js');
- Component({
- relations: {
- '../discuss/custom-li': {
- type: 'child',
- linked: function(target) {
-
- },
- linkChanged: function(target) {
-
- },
- unlinked: function(target) {
-
- }
- }
- },
-
- properties: {
- productionData: {
- type: Object,
- value: {}
- },
- },
-
- data: {
- flag: false,
- text: '',
- chatDatas: [],
- animationData: {}
- },
-
- methods: {
- uploadImage (e) {
- wx.navigateTo({
- url: '../input_content/input_content'
- })
- },
- listenerButtonPreviewImage: function(e) {
- let imgUrl = [];
- imgUrl.push(e.target.dataset.img);
- wx.previewImage({
- current: '',
- urls: imgUrl,
-
- success: function(res) {
-
- },
-
- fail: function() {
-
- }
- })
- }
- },
- ready () {
- console.log(this.getRelationNodes('discuss/discuss/custom-li'))
-
-
- }
- })
|